aboutsummaryrefslogtreecommitdiffstats
path: root/src/win.c
diff options
context:
space:
mode:
authorfalkTX <falktx@falktx.com>2022-05-27 00:30:12 +0100
committerDavid Robillard <d@drobilla.net>2022-12-24 19:47:25 -0500
commitcdfb8223301faba2c478c805b35ca457e6547629 (patch)
treef024df90192e74ff11f1e9eeb766825758f9f691 /src/win.c
parentebf23245ce3dff82d804c957ad928fe11457311f (diff)
downloadpugl-cdfb8223301faba2c478c805b35ca457e6547629.tar.gz
pugl-cdfb8223301faba2c478c805b35ca457e6547629.tar.bz2
pugl-cdfb8223301faba2c478c805b35ca457e6547629.zip
Add diagonal cursors
Diffstat (limited to 'src/win.c')
-rw-r--r--src/win.c16
1 files changed, 9 insertions, 7 deletions
diff --git a/src/win.c b/src/win.c
index 75915d7..639f200 100644
--- a/src/win.c
+++ b/src/win.c
@@ -1295,13 +1295,15 @@ puglPaste(PuglView* const view)
}
static const char* const cursor_ids[] = {
- IDC_ARROW, // ARROW
- IDC_IBEAM, // CARET
- IDC_CROSS, // CROSSHAIR
- IDC_HAND, // HAND
- IDC_NO, // NO
- IDC_SIZEWE, // LEFT_RIGHT
- IDC_SIZENS, // UP_DOWN
+ IDC_ARROW, // ARROW
+ IDC_IBEAM, // CARET
+ IDC_CROSS, // CROSSHAIR
+ IDC_HAND, // HAND
+ IDC_NO, // NO
+ IDC_SIZEWE, // LEFT_RIGHT
+ IDC_SIZENS, // UP_DOWN
+ IDC_SIZENWSE, // UP_LEFT_DOWN_RIGHT
+ IDC_SIZENESW, // UP_RIGHT_DOWN_LEFT
};
PuglStatus