tibia-client/modules/client_about/about.lua

24 lines
438 B
Lua
Raw Normal View History

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