aboutsummaryrefslogtreecommitdiffstats
path: root/pugl/pugl_internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'pugl/pugl_internal.h')
-rw-r--r--pugl/pugl_internal.h7
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)
{