From 14b35ef217f5ee387c4f33b1b24bebb015e18f23 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 7 Jan 2023 19:27:18 -0500 Subject: Replace map/unmap events with more expressive configure events --- bindings/cpp/include/pugl/pugl.hpp | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'bindings') 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; /// @copydoc PuglConfigureEvent using ConfigureEvent = Event; -/// @copydoc PuglMapEvent -using MapEvent = Event; - -/// @copydoc PuglUnmapEvent -using UnmapEvent = Event; - /// @copydoc PuglUpdateEvent using UpdateEvent = Event; @@ -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: -- cgit v1.2.1