aboutsummaryrefslogtreecommitdiffstats
path: root/pugl/pugl.h
diff options
context:
space:
mode:
Diffstat (limited to 'pugl/pugl.h')
-rw-r--r--pugl/pugl.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/pugl/pugl.h b/pugl/pugl.h
index 1344410..f08925f 100644
--- a/pugl/pugl.h
+++ b/pugl/pugl.h
@@ -563,12 +563,18 @@ PUGL_API bool
puglGetVisible(PuglView* view);
/**
- Request a redisplay on the next call to puglDispatchEvents().
+ Request a redisplay for the entire view.
*/
PUGL_API PuglStatus
puglPostRedisplay(PuglView* view);
/**
+ Request a redisplay of the given rectangle within the view.
+*/
+PUGL_API PuglStatus
+puglPostRedisplayRect(PuglView* view, PuglRect rect);
+
+/**
@}
@anchor frame
@name Frame