aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2023-01-10 12:32:45 -0500
committerDavid Robillard <d@drobilla.net>2023-01-10 12:32:45 -0500
commite554f8c5ea5f812e7e0ce7d5c99129370c4c595a (patch)
treec3abf0307492acaae54dd52bae0f72d708a3b3ce /include
parentbc7ce5e77224f276a97593b2d1c9f888dc63d1dc (diff)
downloadpugl-e554f8c5ea5f812e7e0ce7d5c99129370c4c595a.tar.gz
pugl-e554f8c5ea5f812e7e0ce7d5c99129370c4c595a.tar.bz2
pugl-e554f8c5ea5f812e7e0ce7d5c99129370c4c595a.zip
Add PUGL_CURSOR_ALL_SCROLL
Diffstat (limited to 'include')
-rw-r--r--include/pugl/pugl.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/pugl/pugl.h b/include/pugl/pugl.h
index ea2f3a9..dbe40df 100644
--- a/include/pugl/pugl.h
+++ b/include/pugl/pugl.h
@@ -1371,10 +1371,11 @@ typedef enum {
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
+ PUGL_CURSOR_ALL_SCROLL, ///< Omnidirectional "arrow" for scrolling
} PuglCursor;
/// The number of #PuglCursor values
-#define PUGL_NUM_CURSORS ((unsigned)PUGL_CURSOR_UP_RIGHT_DOWN_LEFT + 1U)
+#define PUGL_NUM_CURSORS ((unsigned)PUGL_CURSOR_ALL_SCROLL + 1U)
/**
Grab the keyboard input focus.