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