diff options
author | David Robillard <d@drobilla.net> | 2023-01-10 12:32:45 -0500 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2023-01-10 12:32:45 -0500 |
commit | e554f8c5ea5f812e7e0ce7d5c99129370c4c595a (patch) | |
tree | c3abf0307492acaae54dd52bae0f72d708a3b3ce /src | |
parent | bc7ce5e77224f276a97593b2d1c9f888dc63d1dc (diff) | |
download | pugl-e554f8c5ea5f812e7e0ce7d5c99129370c4c595a.tar.gz pugl-e554f8c5ea5f812e7e0ce7d5c99129370c4c595a.tar.bz2 pugl-e554f8c5ea5f812e7e0ce7d5c99129370c4c595a.zip |
Add PUGL_CURSOR_ALL_SCROLL
Diffstat (limited to 'src')
-rw-r--r-- | src/mac.m | 2 | ||||
-rw-r--r-- | src/win.c | 1 | ||||
-rw-r--r-- | src/x11.c | 1 |
3 files changed, 4 insertions, 0 deletions
@@ -1916,6 +1916,8 @@ puglGetNsCursor(const PuglCursor cursor) return extendedCursor(@selector(_windowResizeNorthWestSouthEastCursor)); case PUGL_CURSOR_UP_RIGHT_DOWN_LEFT: return extendedCursor(@selector(_windowResizeNorthEastSouthWestCursor)); + case PUGL_CURSOR_ALL_SCROLL: + return [NSCursor closedHandCursor]; } return NULL; @@ -1447,6 +1447,7 @@ static const char* const cursor_ids[] = { IDC_SIZENS, // UP_DOWN IDC_SIZENWSE, // UP_LEFT_DOWN_RIGHT IDC_SIZENESW, // UP_RIGHT_DOWN_LEFT + IDC_SIZEALL, // ALL_SCROLL }; PuglStatus @@ -78,6 +78,7 @@ static const char* const cursorNames[PUGL_NUM_CURSORS] = { "sb_v_double_arrow", // UP_DOWN "size_fdiag", // UP_LEFT_DOWN_RIGHT "size_bdiag", // UP_RIGHT_DOWN_LEFT + "all-scroll", // ALL_SCROLL }; #endif |