aboutsummaryrefslogtreecommitdiff
path: root/pugl/pugl.h
diff options
context:
space:
mode:
authorHanspeter Portner <dev@open-music-kontrollers.ch>2017-07-05 22:51:49 +0200
committerHanspeter Portner <dev@open-music-kontrollers.ch>2017-07-05 22:51:49 +0200
commit7081c1c1f06c658fb8edb34344e813b135cf7e2b (patch)
tree7379071879b7eeffb3b207911c3a72ede793eb0b /pugl/pugl.h
parentadaf38d0984087ba9b6281dde46749dfb29a2a38 (diff)
downloadsynthpod-7081c1c1f06c658fb8edb34344e813b135cf7e2b.tar.xz
Squashed 'pugl/' changes from adaf38d..0406d71
0406d71 Implement clipboard c977ef2 Implement special key handling on MacOS git-subtree-dir: pugl git-subtree-split: 0406d71d421e141802ca8c085bbd00125a4af961
Diffstat (limited to 'pugl/pugl.h')
-rw-r--r--pugl/pugl.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/pugl/pugl.h b/pugl/pugl.h
index 1b22260d..dbbad901 100644
--- a/pugl/pugl.h
+++ b/pugl/pugl.h
@@ -569,6 +569,18 @@ PUGL_API void
puglIgnoreKeyRepeat(PuglView* view, bool ignore);
/**
+ Copy selection to clipboard.
+*/
+PUGL_API void
+puglCopyToClipboard(PuglView* view, const char* selection, size_t len);
+
+/**
+ Paste selection from clipboard.
+*/
+PUGL_API const char*
+puglPasteFromClipboard(PuglView* view, size_t* len);
+
+/**
Grab the input focus.
*/
PUGL_API void