summaryrefslogtreecommitdiff
path: root/xmake/core/ui/application.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2017-12-16 00:57:23 +0800
committerruki <[email protected]>2017-12-15 23:44:19 +0800
commite5ed897840214b66fd746292fff15c56606d3251 (patch)
tree6a5820bfcb1acf95536b673cd79587aff198dab5 /xmake/core/ui/application.lua
parentd81f894af27987981ef3fe39e013ad3f1fadfbcf (diff)
add event to ui
Diffstat (limited to 'xmake/core/ui/application.lua')
-rw-r--r--xmake/core/ui/application.lua6
1 files changed, 6 insertions, 0 deletions
diff --git a/xmake/core/ui/application.lua b/xmake/core/ui/application.lua
index 2572e7e1d..8caf4a01e 100644
--- a/xmake/core/ui/application.lua
+++ b/xmake/core/ui/application.lua
@@ -99,6 +99,12 @@ function application:statusbar()
return self._STATUSBAR
end
+-- do event
+function application:do_event(e)
+ program.do_event(self, e)
+ -- TODO
+end
+
-- run application
function application.run(name, ...)