From e554f8c5ea5f812e7e0ce7d5c99129370c4c595a Mon Sep 17 00:00:00 2001 From: David Robillard Date: Tue, 10 Jan 2023 12:32:45 -0500 Subject: Add PUGL_CURSOR_ALL_SCROLL --- include/pugl/pugl.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include/pugl/pugl.h') 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. -- cgit v1.2.1