create in game interface panels and renable about and options windows

This commit is contained in:
Eduardo Bart
2011-11-03 07:59:11 -02:00
parent b05bb7818d
commit b345a6d783
30 changed files with 400 additions and 70 deletions

View File

@@ -0,0 +1,19 @@
Options = {}
-- private variables
local options
-- public functions
function Options.create()
options = UI.loadAndDisplay("/options/options.otui")
UI.root:lockChild(options)
end
function Options.destroy()
options:destroy()
options = nil
end
function Options.openWebpage()
displayErrorBox("Error", "Not implemented yet")
end