From 8811c3f6dbf61def97fa7d0365351632da378d15 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 8 Mar 2020 12:32:21 +0100 Subject: Link event types to the corresponding struct --- pugl/pugl.h | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) (limited to 'pugl') diff --git a/pugl/pugl.h b/pugl/pugl.h index 64d25cb..7b45f2d 100644 --- a/pugl/pugl.h +++ b/pugl/pugl.h @@ -166,20 +166,20 @@ typedef enum { */ typedef enum { PUGL_NOTHING, ///< No event - PUGL_BUTTON_PRESS, ///< Mouse button pressed - PUGL_BUTTON_RELEASE, ///< Mouse button released - PUGL_CONFIGURE, ///< View moved and/or resized - PUGL_EXPOSE, ///< View exposed and must be redrawn - PUGL_CLOSE, ///< View will be closed - PUGL_KEY_PRESS, ///< Key pressed - PUGL_KEY_RELEASE, ///< Key released - PUGL_TEXT, ///< Character entered - PUGL_ENTER_NOTIFY, ///< Pointer entered view - PUGL_LEAVE_NOTIFY, ///< Pointer left view - PUGL_MOTION_NOTIFY, ///< Pointer moved - PUGL_SCROLL, ///< Scrolled - PUGL_FOCUS_IN, ///< Keyboard focus entered view - PUGL_FOCUS_OUT ///< Keyboard focus left view + PUGL_BUTTON_PRESS, ///< Mouse button pressed, a #PuglEventButton + PUGL_BUTTON_RELEASE, ///< Mouse button released, a #PuglEventButton + PUGL_CONFIGURE, ///< View moved and/or resized, a #PuglEventConfigure + PUGL_EXPOSE, ///< View must be drawn, a #PuglEventExpose + PUGL_CLOSE, ///< View will be closed, a #PuglEventAny + PUGL_KEY_PRESS, ///< Key pressed, a #PuglEventKey + PUGL_KEY_RELEASE, ///< Key released, a #PuglEventKey + PUGL_TEXT, ///< Character entered, a #PuglEventText + PUGL_ENTER_NOTIFY, ///< Pointer entered view, a #PuglEventCrossing + PUGL_LEAVE_NOTIFY, ///< Pointer left view, a #PuglEventCrossing + PUGL_MOTION_NOTIFY, ///< Pointer moved, a #PuglEventMotion + PUGL_SCROLL, ///< Scrolled, a #PuglEventScroll + PUGL_FOCUS_IN, ///< Keyboard focus entered view, a #PuglEventFocus + PUGL_FOCUS_OUT ///< Keyboard focus left view, a #PuglEventFocus } PuglEventType; /** -- cgit v1.2.1