diff options
Diffstat (limited to 'bindings/cpp')
-rw-r--r-- | bindings/cpp/include/pugl/pugl.hpp | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/bindings/cpp/include/pugl/pugl.hpp b/bindings/cpp/include/pugl/pugl.hpp index b7f9fcf..18dd015 100644 --- a/bindings/cpp/include/pugl/pugl.hpp +++ b/bindings/cpp/include/pugl/pugl.hpp @@ -138,6 +138,9 @@ using ViewStyleFlag = PuglViewStyleFlag; /// @copydoc PuglViewStyleFlags using ViewStyleFlags = PuglViewStyleFlags; +/// @copydoc PuglClipboard +using Clipboard = PuglClipboard; + /// @copydoc PuglRealizeEvent using RealizeEvent = Event<PUGL_REALIZE, PuglRealizeEvent>; @@ -636,15 +639,16 @@ public: } /// @copydoc puglGetNumClipboardTypes - uint32_t numClipboardTypes() const + uint32_t numClipboardTypes(const Clipboard clipboard) const { - return puglGetNumClipboardTypes(cobj()); + return puglGetNumClipboardTypes(cobj(), clipboard); } /// @copydoc puglGetClipboardType - const char* clipboardType(const uint32_t typeIndex) const + const char* clipboardType(const Clipboard clipboard, + const uint32_t typeIndex) const { - return puglGetClipboardType(cobj(), typeIndex); + return puglGetClipboardType(cobj(), clipboard, typeIndex); } /** |