aboutsummaryrefslogtreecommitdiffstats
path: root/pugl/pugl.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2016-09-01 22:23:00 -0400
committerDavid Robillard <d@drobilla.net>2016-09-01 22:23:00 -0400
commita25ecaf03e75e61314b7271068a030b7d33eaf09 (patch)
treee4af292764418e89250ee398e0b68948f29bc2e7 /pugl/pugl.h
parent33be0a19a206963f3c600484aea4d1b920b44fd1 (diff)
downloadpugl-a25ecaf03e75e61314b7271068a030b7d33eaf09.tar.gz
pugl-a25ecaf03e75e61314b7271068a030b7d33eaf09.tar.bz2
pugl-a25ecaf03e75e61314b7271068a030b7d33eaf09.zip
Add puglGetSize()
Diffstat (limited to 'pugl/pugl.h')
-rw-r--r--pugl/pugl.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/pugl/pugl.h b/pugl/pugl.h
index 07d3cf4..0c6dd79 100644
--- a/pugl/pugl.h
+++ b/pugl/pugl.h
@@ -284,6 +284,12 @@ PUGL_API bool
puglGetVisible(PuglView* view);
/**
+ Get the current size of the view.
+*/
+PUGL_API void
+puglGetSize(PuglView* view, int* width, int* height);
+
+/**
Return the timestamp (if any) of the currently-processing event.
*/
PUGL_API uint32_t