aboutsummaryrefslogtreecommitdiff
path: root/pugl/pugl.hpp
diff options
context:
space:
mode:
authorHanspeter Portner <dev@open-music-kontrollers.ch>2017-03-07 19:49:51 +0100
committerHanspeter Portner <dev@open-music-kontrollers.ch>2017-03-07 19:49:51 +0100
commit0406d71d421e141802ca8c085bbd00125a4af961 (patch)
tree7379071879b7eeffb3b207911c3a72ede793eb0b /pugl/pugl.hpp
parentc977ef2968f22d0379a857aa2fe1668547bb50c0 (diff)
downloadsynthpod-0406d71d421e141802ca8c085bbd00125a4af961.tar.xz
Implement clipboard
Diffstat (limited to 'pugl/pugl.hpp')
-rw-r--r--pugl/pugl.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/pugl/pugl.hpp b/pugl/pugl.hpp
index 82328878..7d3ea9e3 100644
--- a/pugl/pugl.hpp
+++ b/pugl/pugl.hpp
@@ -83,6 +83,8 @@ public:
virtual void* getContext() { return puglGetContext(_view); }
virtual void ignoreKeyRepeat(bool ignore) { puglIgnoreKeyRepeat(_view, ignore); }
virtual void grabFocus() { puglGrabFocus(_view); }
+ virtual void copyToClipboard(char* selection) { puglCopyToClipboard(_view, selection); }
+ virtual const char* pasteFromClipboard() { return puglPasteFromClipboard(_view); }
virtual PuglStatus waitForEvent() { return puglWaitForEvent(_view); }
virtual PuglStatus processEvents() { return puglProcessEvents(_view); }
virtual void postRedisplay() { puglPostRedisplay(_view); }