aboutsummaryrefslogtreecommitdiffstats
path: root/include/pugl
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 /include/pugl
parentebf23245ce3dff82d804c957ad928fe11457311f (diff)
downloadpugl-cdfb8223301faba2c478c805b35ca457e6547629.tar.gz
pugl-cdfb8223301faba2c478c805b35ca457e6547629.tar.bz2
pugl-cdfb8223301faba2c478c805b35ca457e6547629.zip
Add diagonal cursors
Diffstat (limited to 'include/pugl')
-rw-r--r--include/pugl/pugl.h16
1 files changed, 9 insertions, 7 deletions
diff --git a/include/pugl/pugl.h b/include/pugl/pugl.h
index b928c9e..67b1e60 100644
--- a/include/pugl/pugl.h
+++ b/include/pugl/pugl.h
@@ -1261,13 +1261,15 @@ puglPostRedisplayRect(PuglView* view, PuglRect rect);
Windows.
*/
typedef enum {
- PUGL_CURSOR_ARROW, ///< Default pointing arrow
- PUGL_CURSOR_CARET, ///< Caret (I-Beam) for text entry
- PUGL_CURSOR_CROSSHAIR, ///< Cross-hair
- PUGL_CURSOR_HAND, ///< Hand with a pointing finger
- PUGL_CURSOR_NO, ///< Operation not allowed
- PUGL_CURSOR_LEFT_RIGHT, ///< Left/right arrow for horizontal resize
- PUGL_CURSOR_UP_DOWN, ///< Up/down arrow for vertical resize
+ PUGL_CURSOR_ARROW, ///< Default pointing arrow
+ PUGL_CURSOR_CARET, ///< Caret (I-Beam) for text entry
+ PUGL_CURSOR_CROSSHAIR, ///< Cross-hair
+ PUGL_CURSOR_HAND, ///< Hand with a pointing finger
+ PUGL_CURSOR_NO, ///< Operation not allowed
+ PUGL_CURSOR_LEFT_RIGHT, ///< Left/right arrow for horizontal resize
+ PUGL_CURSOR_UP_DOWN, ///< Up/down arrow for vertical resize
+ PUGL_CURSOR_UP_LEFT_DOWN_RIGHT, ///< Diagonal arrow for down/right resize
+ PUGL_CURSOR_UP_RIGHT_DOWN_LEFT, ///< Diagonal arrow for down/left resize
} PuglCursor;
/// The number of #PuglCursor values