mirror of
https://github.com/edubart/otclient.git
synced 2025-10-14 11:34:54 +02:00
major UIWidget rewrite with new features
This commit is contained in:
@@ -2,13 +2,15 @@ MapEffects = {}
|
||||
|
||||
function MapEffects.init()
|
||||
--[[
|
||||
local box = createWidget('ComboBox')
|
||||
box:moveTo({x=100, y=8})
|
||||
local box = createWidget('ComboBox', 'leftButtonsPanel')
|
||||
box:addAnchor(AnchorLeft, 'prev', AnchorRight)
|
||||
box:addAnchor(AnchorTop, 'parent', AnchorTop)
|
||||
box:setMargin(6, 6)
|
||||
box:addOption('Normal')
|
||||
box:addOption('Bloom')
|
||||
box:addOption('TV')
|
||||
displayUI(box)
|
||||
]]--
|
||||
]]--
|
||||
end
|
||||
|
||||
function MapEffects.terminate()
|
||||
|
Reference in New Issue
Block a user