tibia-client/modules/corelib/ui/uibutton.lua

13 lines
239 B
Lua
Raw Normal View History

2012-06-26 00:13:30 +02:00
-- @docclass
UIButton = extends(UIWidget)
function UIButton.create()
local button = UIButton.internalCreate()
button:setFocusable(false)
return button
2013-01-31 04:09:56 +01:00
end
function UIButton:onMouseRelease(pos, button)
return self:isPressed()
2013-01-31 04:09:56 +01:00
end