You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
277 B
19 lines
277 B
13 years ago
|
TopMenu = {}
|
||
|
|
||
|
-- private variables
|
||
|
local topMenu
|
||
|
|
||
|
-- public functions
|
||
|
function TopMenu.create()
|
||
13 years ago
|
topMenu = UI.display('topmenu.otui')
|
||
13 years ago
|
end
|
||
|
|
||
|
function TopMenu.destroy()
|
||
|
topMenu:destroy()
|
||
|
topMenu = nil
|
||
13 years ago
|
end
|
||
|
|
||
|
function TopMenu.getButton(id)
|
||
|
return topMenu:getChildById(id)
|
||
13 years ago
|
end
|