tibia-client/modules/client_about/about.lua

23 lines
457 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', '/core_styles/icons/about.png', About.display)
end
function About.display()
aboutWindow = displayUI('about.otui', { locked = true })
end
2012-01-07 18:36:58 +01:00
function About.terminate()
aboutButton:destroy()
aboutButton = nil
end
function About.openWebpage()
displayErrorBox("Error", "Not implemented yet")
2011-11-17 22:41:02 +01:00
end