diff options
author | David Robillard <d@drobilla.net> | 2023-01-07 19:27:18 -0500 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2023-01-07 20:27:35 -0500 |
commit | 14b35ef217f5ee387c4f33b1b24bebb015e18f23 (patch) | |
tree | 2e9ea2b44dfc9e3108f1a1c489f6842273404272 /include/pugl | |
parent | 4ad8621ac1d94c8e9cf88f83c46a3a70cd91212b (diff) | |
download | pugl-14b35ef217f5ee387c4f33b1b24bebb015e18f23.tar.gz pugl-14b35ef217f5ee387c4f33b1b24bebb015e18f23.tar.bz2 pugl-14b35ef217f5ee387c4f33b1b24bebb015e18f23.zip |
Replace map/unmap events with more expressive configure events
Diffstat (limited to 'include/pugl')
-rw-r--r-- | include/pugl/pugl.h | 29 |
1 files changed, 1 insertions, 28 deletions
diff --git a/include/pugl/pugl.h b/include/pugl/pugl.h index 00dffba..22cdfca 100644 --- a/include/pugl/pugl.h +++ b/include/pugl/pugl.h @@ -79,9 +79,7 @@ typedef enum { PUGL_NOTHING, ///< No event PUGL_REALIZE, ///< View realized, a #PuglRealizeEvent PUGL_UNREALIZE, ///< View unrealizeed, a #PuglUnrealizeEvent - PUGL_CONFIGURE, ///< View moved/resized, a #PuglConfigureEvent - PUGL_MAP, ///< View made visible, a #PuglMapEvent - PUGL_UNMAP, ///< View made invisible, a #PuglUnmapEvent + PUGL_CONFIGURE, ///< View configured, a #PuglConfigureEvent PUGL_UPDATE, ///< View ready to draw, a #PuglUpdateEvent PUGL_EXPOSE, ///< View must be drawn, a #PuglExposeEvent PUGL_CLOSE, ///< View will be closed, a #PuglCloseEvent @@ -218,25 +216,6 @@ typedef struct { } PuglConfigureEvent; /** - View show event. - - This event is sent when a view is mapped to the screen and made visible. - - This event type has no extra fields. -*/ -typedef PuglAnyEvent PuglMapEvent; - -/** - View hide event. - - This event is sent when a view is unmapped from the screen and made - invisible. - - This event type has no extra fields. -*/ -typedef PuglAnyEvent PuglUnmapEvent; - -/** Recursive loop enter event. This event is sent when the window system enters a recursive loop. The main @@ -1566,12 +1545,6 @@ typedef PuglDestroyEvent PuglEventDestroy; PUGL_DEPRECATED_BY("PuglConfigureEvent") typedef PuglConfigureEvent PuglEventConfigure; -PUGL_DEPRECATED_BY("PuglMapEvent") -typedef PuglMapEvent PuglEventMap; - -PUGL_DEPRECATED_BY("PuglUnmapEvent") -typedef PuglUnmapEvent PuglEventUnmap; - PUGL_DEPRECATED_BY("PuglUpdateEvent") typedef PuglUpdateEvent PuglEventUpdate; |