aboutsummaryrefslogtreecommitdiffstats
path: root/pugl/pugl.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2019-11-03 19:15:05 +0100
committerDavid Robillard <d@drobilla.net>2019-11-03 21:03:18 +0100
commitbe838db18af13390cb9f705d36ab83396d2dd1e6 (patch)
treeb79ae242205607374132f3f9463c35783485d67e /pugl/pugl.h
parentd9239872c71d117f78ce6c109cd9ab42e2d80c6b (diff)
downloadpugl-be838db18af13390cb9f705d36ab83396d2dd1e6.tar.gz
pugl-be838db18af13390cb9f705d36ab83396d2dd1e6.tar.bz2
pugl-be838db18af13390cb9f705d36ab83396d2dd1e6.zip
Remove redisplay flag and add puglPostRedisplayRect()
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