mirror of
https://github.com/edubart/otclient.git
synced 2025-10-16 20:43:26 +02:00
create in game interface panels and renable about and options windows
This commit is contained in:
19
modules/about/about.lua
Normal file
19
modules/about/about.lua
Normal file
@@ -0,0 +1,19 @@
|
||||
About = {}
|
||||
|
||||
-- private variables
|
||||
local about
|
||||
|
||||
-- public functions
|
||||
function About.create()
|
||||
about = UI.loadAndDisplay("/about/about.otui")
|
||||
UI.root:lockChild(about)
|
||||
end
|
||||
|
||||
function About.destroy()
|
||||
about:destroy()
|
||||
about = nil
|
||||
end
|
||||
|
||||
function About.openWebpage()
|
||||
displayErrorBox("Error", "Not implemented yet")
|
||||
end
|
Reference in New Issue
Block a user