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()
|
|
|
|
aboutButton = TopMenu.addRightButton('aboutButton', 'About', '/core_styles/icons/about.png', About.display)
|
|
|
|
end
|
|
|
|
|
|
|
|
function About.display()
|
2012-01-03 01:42:53 +01:00
|
|
|
aboutWindow = 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
|