diff options
author | David Robillard <d@drobilla.net> | 2023-01-10 12:31:57 -0500 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2023-01-10 12:31:57 -0500 |
commit | bc7ce5e77224f276a97593b2d1c9f888dc63d1dc (patch) | |
tree | 8817e5f0a57faa0dbaaebdc7253c6c1bc19ffcd3 /bindings/cpp/include | |
parent | d19da029e075536dc16229164b707b64d33f6dde (diff) | |
download | pugl-bc7ce5e77224f276a97593b2d1c9f888dc63d1dc.tar.gz pugl-bc7ce5e77224f276a97593b2d1c9f888dc63d1dc.tar.bz2 pugl-bc7ce5e77224f276a97593b2d1c9f888dc63d1dc.zip |
Add missing cursors to C++ bindings
Diffstat (limited to 'bindings/cpp/include')
-rw-r--r-- | bindings/cpp/include/pugl/pugl.hpp | 20 |
1 files changed, 12 insertions, 8 deletions
diff --git a/bindings/cpp/include/pugl/pugl.hpp b/bindings/cpp/include/pugl/pugl.hpp index 2f160fe..bea4deb 100644 --- a/bindings/cpp/include/pugl/pugl.hpp +++ b/bindings/cpp/include/pugl/pugl.hpp @@ -369,16 +369,20 @@ using ViewHintValue = PuglViewHintValue; ///< @copydoc PuglViewHintValue /// @copydoc PuglCursor enum class Cursor { - arrow, ///< @copydoc PUGL_CURSOR_ARROW - caret, ///< @copydoc PUGL_CURSOR_CARET - crosshair, ///< @copydoc PUGL_CURSOR_CROSSHAIR - hand, ///< @copydoc PUGL_CURSOR_HAND - no, ///< @copydoc PUGL_CURSOR_NO - leftRight, ///< @copydoc PUGL_CURSOR_LEFT_RIGHT - upDown, ///< @copydoc PUGL_CURSOR_UP_DOWN + arrow, ///< @copydoc PUGL_CURSOR_ARROW + caret, ///< @copydoc PUGL_CURSOR_CARET + crosshair, ///< @copydoc PUGL_CURSOR_CROSSHAIR + hand, ///< @copydoc PUGL_CURSOR_HAND + no, ///< @copydoc PUGL_CURSOR_NO + leftRight, ///< @copydoc PUGL_CURSOR_LEFT_RIGHT + upDown, ///< @copydoc PUGL_CURSOR_UP_DOWN + upLeftDownRight, ///< @copydoc PUGL_CURSOR_UP_LEFT_DOWN_RIGHT + upRightDownLeft, ///< @copydoc PUGL_CURSOR_UP_RIGHT_DOWN_LEFT }; -static_assert(static_cast<Cursor>(PUGL_CURSOR_UP_DOWN) == Cursor::upDown, ""); +static_assert(static_cast<Cursor>(PUGL_CURSOR_UP_RIGHT_DOWN_LEFT) == + Cursor::upRightDownLeft, + ""); /// @copydoc PuglShowCommand enum class ShowCommand { |