From 970ce3152b6935a2c07b475916639d197dc1ae06 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 6 Mar 2020 21:52:47 +0100 Subject: Move puglPostRedisplay() and friend to graphics group --- pugl/pugl.h | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'pugl') diff --git a/pugl/pugl.h b/pugl/pugl.h index e0ea5d6..6a8a236 100644 --- a/pugl/pugl.h +++ b/pugl/pugl.h @@ -599,18 +599,6 @@ puglGetHandle(PuglView* view); PUGL_API PuglStatus puglSetViewHint(PuglView* view, PuglViewHint hint, int value); -/** - 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 @@ -774,6 +762,18 @@ puglEnterContext(PuglView* view, bool drawing); PUGL_API PuglStatus puglLeaveContext(PuglView* view, bool drawing); +/** + 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 interaction -- cgit v1.2.1