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.
24 lines
438 B
24 lines
438 B
About = {}
|
|
|
|
-- private variables
|
|
local aboutButton
|
|
|
|
-- public functions
|
|
function About.init()
|
|
aboutButton = TopMenu.addRightButton('aboutButton', 'About', 'about.png', About.display)
|
|
end
|
|
|
|
function About.display()
|
|
displayUI('about.otui', { locked = true })
|
|
end
|
|
|
|
function About.terminate()
|
|
aboutButton:destroy()
|
|
aboutButton = nil
|
|
About = nil
|
|
end
|
|
|
|
function About.openWebpage()
|
|
displayErrorBox("Error", "Not implemented yet")
|
|
end
|