fix game losing focus, handle enter/escape on add vip window

This commit is contained in:
Eduardo Bart
2012-01-05 16:31:52 -02:00
parent fb20ad1ba1
commit 4620f71444
7 changed files with 12 additions and 14 deletions

View File

@@ -1,11 +1,2 @@
-- place any code for testing purposes here
function init()
local box = createWidget('ComboBox')
box:moveTo({x=100, y=8})
box:addOption('Option 1')
box:addOption('Option 2')
displayUI(box)
end
addEvent(init)
--scheduleEvent(function() dumpWidgets() end, 100)

View File

@@ -1,6 +1,7 @@
Module
name: playground
autoLoad: true
autoLoadPriority: 1000
onLoad: |
require 'playground'