mirror of
https://github.com/edubart/otclient.git
synced 2025-10-19 14:03:26 +02:00
add splitter widget
* add horizontal/vertical cursor * possibildiade to resize game map with the new splitter widget * fix reload warnings in textmessage
This commit is contained in:
@@ -4,7 +4,14 @@ function Mouse.setTargetCursor()
|
||||
g_window.setMouseCursor('/core_styles/cursors/targetcursor.png', {x=9,y=9})
|
||||
end
|
||||
|
||||
function Mouse.setHorizontalCursor()
|
||||
g_window.setMouseCursor('/core_styles/cursors/horizontal.png', {x=9,y=4})
|
||||
end
|
||||
|
||||
function Mouse.setVerticalCursor()
|
||||
g_window.setMouseCursor('/core_styles/cursors/vertical.png', {x=4,y=9})
|
||||
end
|
||||
|
||||
function Mouse.restoreCursor()
|
||||
g_window.restoreMouseCursor()
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user