Change dragging cursor on Windows

This commit is contained in:
kobewi 2021-10-06 13:13:42 +02:00
parent 36de097577
commit 92a53f9bd6
2 changed files with 2 additions and 1 deletions

View File

@ -386,6 +386,7 @@
</constant> </constant>
<constant name="CURSOR_DRAG" value="6" enum="CursorShape"> <constant name="CURSOR_DRAG" value="6" enum="CursorShape">
Drag cursor. Usually displayed when dragging something. Drag cursor. Usually displayed when dragging something.
[b]Note:[/b] Windows lacks a dragging cursor, so [constant CURSOR_DRAG] is the same as [constant CURSOR_MOVE] for this platform.
</constant> </constant>
<constant name="CURSOR_CAN_DROP" value="7" enum="CursorShape"> <constant name="CURSOR_CAN_DROP" value="7" enum="CursorShape">
Can drop cursor. Usually displayed when dragging something to indicate that it can be dropped at the current position. Can drop cursor. Usually displayed when dragging something to indicate that it can be dropped at the current position.

View File

@ -1208,7 +1208,7 @@ void DisplayServerWindows::cursor_set_shape(CursorShape p_shape) {
IDC_CROSS, IDC_CROSS,
IDC_WAIT, IDC_WAIT,
IDC_APPSTARTING, IDC_APPSTARTING,
IDC_ARROW, IDC_SIZEALL,
IDC_ARROW, IDC_ARROW,
IDC_NO, IDC_NO,
IDC_SIZENS, IDC_SIZENS,