mirror of
https://github.com/edubart/otclient.git
synced 2025-10-19 14:03:26 +02:00
implement more functionality
* update TODO * rework UISpinBox * restore move of stackable items and with horizontal scrollbar * implement classic control look
This commit is contained in:
@@ -26,8 +26,9 @@ function Mouse.isCursorChanged()
|
||||
return cursorChanged
|
||||
end
|
||||
|
||||
function Mouse.isPressed()
|
||||
return g_ui.getPressedWidget() ~= nil
|
||||
function Mouse.isPressed(button)
|
||||
if not button then button = MouseLeftButton end
|
||||
return g_window.isMouseButtonPressed(button)
|
||||
end
|
||||
|
||||
function Mouse.bindAutoPress(widget, callback)
|
||||
|
Reference in New Issue
Block a user