tibia-client/modules/client_about/about.lua

23 lines
457 B
Lua

About = {}
-- private variables
local aboutButton
-- public functions
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
function About.terminate()
aboutButton:destroy()
aboutButton = nil
end
function About.openWebpage()
displayErrorBox("Error", "Not implemented yet")
end