mirror of
https://github.com/edubart/otclient.git
synced 2025-10-14 11:34:54 +02:00
Added new market buttons: Close, Refresh Offers, and Reset Market.
* New refresh offers function. * Fixed Market.reset function.
This commit is contained in:
@@ -5,4 +5,4 @@ function UIButton.create()
|
||||
local button = UIButton.internalCreate()
|
||||
button:setFocusable(false)
|
||||
return button
|
||||
end
|
||||
end
|
@@ -92,6 +92,8 @@ function UITable:addHeaderRow(data)
|
||||
col:setHeight(value)
|
||||
elseif type == 'text' then
|
||||
col:setText(value)
|
||||
elseif type == 'onClick' then
|
||||
col.onClick = value
|
||||
end
|
||||
end
|
||||
table.insert(columns, col)
|
||||
|
Reference in New Issue
Block a user