diff options
author | David Robillard <d@drobilla.net> | 2016-09-01 22:23:00 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2016-09-01 22:23:00 -0400 |
commit | a25ecaf03e75e61314b7271068a030b7d33eaf09 (patch) | |
tree | e4af292764418e89250ee398e0b68948f29bc2e7 /pugl/pugl_internal.h | |
parent | 33be0a19a206963f3c600484aea4d1b920b44fd1 (diff) | |
download | pugl-a25ecaf03e75e61314b7271068a030b7d33eaf09.tar.gz pugl-a25ecaf03e75e61314b7271068a030b7d33eaf09.tar.bz2 pugl-a25ecaf03e75e61314b7271068a030b7d33eaf09.zip |
Add puglGetSize()
Diffstat (limited to 'pugl/pugl_internal.h')
-rw-r--r-- | pugl/pugl_internal.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/pugl/pugl_internal.h b/pugl/pugl_internal.h index 6e7e621..9566c6f 100644 --- a/pugl/pugl_internal.h +++ b/pugl/pugl_internal.h @@ -174,6 +174,13 @@ puglGetVisible(PuglView* view) return view->visible; } +void +puglGetSize(PuglView* view, int* width, int* height) +{ + *width = view->width; + *height = view->height; +} + uint32_t puglGetEventTimestamp(PuglView* view) { |