2011-11-03 10:59:11 +01:00
|
|
|
About = {}
|
|
|
|
|
|
|
|
-- private variables
|
2012-01-07 18:36:58 +01:00
|
|
|
local aboutButton
|
2011-11-03 10:59:11 +01:00
|
|
|
|
|
|
|
-- public functions
|
2012-01-07 18:36:58 +01:00
|
|
|
function About.init()
|
2012-01-24 19:39:16 +01:00
|
|
|
aboutButton = TopMenu.addRightButton('aboutButton', 'About', 'about.png', About.display)
|
2012-01-07 18:36:58 +01:00
|
|
|
end
|
|
|
|
|
|
|
|
function About.display()
|
2012-02-05 23:42:35 +01:00
|
|
|
displayUI('about.otui', { locked = true })
|
2011-11-03 10:59:11 +01:00
|
|
|
end
|
|
|
|
|
2012-01-07 18:36:58 +01:00
|
|
|
function About.terminate()
|
|
|
|
aboutButton:destroy()
|
|
|
|
aboutButton = nil
|
2011-11-03 10:59:11 +01:00
|
|
|
end
|
|
|
|
|
|
|
|
function About.openWebpage()
|
|
|
|
displayErrorBox("Error", "Not implemented yet")
|
2011-11-17 22:41:02 +01:00
|
|
|
end
|