diff options
author | David Robillard <d@drobilla.net> | 2025-02-07 15:51:18 -0500 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2025-02-08 10:36:17 -0500 |
commit | 10eb80744b1bf00276a42720970151319223b5b5 (patch) | |
tree | 76bb3614847cb824aa5d6092d1f1237f67528384 | |
parent | 86eb7be6603a871dbab6d4db7bbbc91c47f8d9a6 (diff) | |
download | pugl-10eb80744b1bf00276a42720970151319223b5b5.tar.gz pugl-10eb80744b1bf00276a42720970151319223b5b5.tar.bz2 pugl-10eb80744b1bf00276a42720970151319223b5b5.zip |
Add missing C++ binding definitions
-rw-r--r-- | bindings/cpp/include/pugl/pugl.hpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/bindings/cpp/include/pugl/pugl.hpp b/bindings/cpp/include/pugl/pugl.hpp index 32321c7..0082fe2 100644 --- a/bindings/cpp/include/pugl/pugl.hpp +++ b/bindings/cpp/include/pugl/pugl.hpp @@ -66,6 +66,12 @@ private: } // namespace detail +/// @copydoc PuglCoord +using Coord = PuglCoord; + +/// @copydoc PuglSpan +using Span = PuglSpan; + /// @copydoc PuglRect using Rect = PuglRect; @@ -227,6 +233,7 @@ enum class Status { setFormatFailed, ///< @copydoc PUGL_SET_FORMAT_FAILED createContextFailed, ///< @copydoc PUGL_CREATE_CONTEXT_FAILED unsupported, ///< @copydoc PUGL_UNSUPPORTED + noMemory, ///< @copydoc PUGL_NO_MEMORY }; static_assert(static_cast<Status>(PUGL_UNSUPPORTED) == Status::unsupported, ""); @@ -375,6 +382,7 @@ enum class SizeHint { defaultSize, ///< @copydoc PUGL_DEFAULT_SIZE minSize, ///< @copydoc PUGL_MIN_SIZE maxSize, ///< @copydoc PUGL_MAX_SIZE + fixedAspect, ///< @copydoc PUGL_FIXED_ASPECT minAspect, ///< @copydoc PUGL_MIN_ASPECT maxAspect, ///< @copydoc PUGL_MAX_ASPECT }; |