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 /bindings | |
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 'bindings')
-rw-r--r-- | bindings/cpp/include/pugl/pugl.hpp | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/bindings/cpp/include/pugl/pugl.hpp b/bindings/cpp/include/pugl/pugl.hpp index e8c9d72..0ce7df7 100644 --- a/bindings/cpp/include/pugl/pugl.hpp +++ b/bindings/cpp/include/pugl/pugl.hpp @@ -119,12 +119,6 @@ using UnrealizeEvent = Event<PUGL_UNREALIZE, PuglUnrealizeEvent>; /// @copydoc PuglConfigureEvent using ConfigureEvent = Event<PUGL_CONFIGURE, PuglConfigureEvent>; -/// @copydoc PuglMapEvent -using MapEvent = Event<PUGL_MAP, PuglMapEvent>; - -/// @copydoc PuglUnmapEvent -using UnmapEvent = Event<PUGL_UNMAP, PuglUnmapEvent>; - /// @copydoc PuglUpdateEvent using UpdateEvent = Event<PUGL_UPDATE, PuglUpdateEvent>; @@ -680,10 +674,6 @@ private: return target.onEvent(UnrealizeEvent{event->any}); case PUGL_CONFIGURE: return target.onEvent(ConfigureEvent{event->configure}); - case PUGL_MAP: - return target.onEvent(MapEvent{event->any}); - case PUGL_UNMAP: - return target.onEvent(UnmapEvent{event->any}); case PUGL_UPDATE: return target.onEvent(UpdateEvent{event->any}); case PUGL_EXPOSE: |