mirror of
https://github.com/edubart/otclient.git
synced 2025-10-14 19:44:54 +02:00
reorganize modules
This commit is contained in:
18
modules/client_about/about.lua
Normal file
18
modules/client_about/about.lua
Normal file
@@ -0,0 +1,18 @@
|
||||
About = {}
|
||||
|
||||
-- private variables
|
||||
local aboutWindow
|
||||
|
||||
-- public functions
|
||||
function About.create()
|
||||
aboutWindow = UI.display('about.otui', { locked = true })
|
||||
end
|
||||
|
||||
function About.destroy()
|
||||
aboutWindow:destroy()
|
||||
aboutWindow = nil
|
||||
end
|
||||
|
||||
function About.openWebpage()
|
||||
displayErrorBox("Error", "Not implemented yet")
|
||||
end
|
Reference in New Issue
Block a user