diff options
author | Matthias Richter <vrld@vrld.org> | 2012-10-10 15:21:06 +0200 |
---|---|---|
committer | Matthias Richter <vrld@vrld.org> | 2012-10-10 15:21:06 +0200 |
commit | c85a877dcc03e8458be595a02d73f3a3839265fd (patch) | |
tree | e0b5254c570da8e23b068438279ee5b21ba3399f | |
parent | 24c3cc18c57035a3770995fb3116486ea671e6f0 (diff) | |
download | Quickie-c85a877dcc03e8458be595a02d73f3a3839265fd.tar.gz Quickie-c85a877dcc03e8458be595a02d73f3a3839265fd.tar.bz2 Quickie-c85a877dcc03e8458be595a02d73f3a3839265fd.tar.xz Quickie-c85a877dcc03e8458be595a02d73f3a3839265fd.zip |
Add gui.mouse.disable(), gui.mouse.enable()
-rw-r--r-- | mouse.lua | 15 |
1 files changed, 15 insertions, 0 deletions
@@ -70,6 +70,18 @@ local function endFrame() end end +local function disable() + --_M.beginFrame = nothing + --_M.endFrame = nothing + --_M.isHot = isHot, + --_M.isActive = isActive, + _M.updateWidget = function() end +end + +local function enable() + _M.updateWidget = updateWidget +end + _M = { widgetHit = widgetHit, setHot = setHot, @@ -81,6 +93,9 @@ _M = { beginFrame = beginFrame, endFrame = endFrame, + + disable = disable, + enable = enable, } -- metatable provides getters to x, y and down |