diff options
author | David Robillard <d@drobilla.net> | 2016-09-18 22:24:35 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2016-09-18 22:25:54 -0400 |
commit | 8150102ad806632e70f8bd8cd211dbe74bc40be5 (patch) | |
tree | 1ea13cfbf585db50ceb4a9c647a6eb40d8cb7368 /pugl/event.h | |
parent | b2430346aceb9773955f86a3e46ea0af9c9c7b7b (diff) | |
download | pugl-8150102ad806632e70f8bd8cd211dbe74bc40be5.tar.gz pugl-8150102ad806632e70f8bd8cd211dbe74bc40be5.tar.bz2 pugl-8150102ad806632e70f8bd8cd211dbe74bc40be5.zip |
Clean up documentation
Diffstat (limited to 'pugl/event.h')
-rw-r--r-- | pugl/event.h | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/pugl/event.h b/pugl/event.h index cf2ba7d..4b83488 100644 --- a/pugl/event.h +++ b/pugl/event.h @@ -1,5 +1,5 @@ /* - Copyright 2014-2015 David Robillard <http://drobilla.net> + Copyright 2014-2016 David Robillard <http://drobilla.net> Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above @@ -34,20 +34,20 @@ extern "C" { The type of a PuglEvent. */ typedef enum { - PUGL_NOTHING, - PUGL_BUTTON_PRESS, - PUGL_BUTTON_RELEASE, - PUGL_CONFIGURE, - PUGL_EXPOSE, - PUGL_CLOSE, - PUGL_KEY_PRESS, - PUGL_KEY_RELEASE, - PUGL_ENTER_NOTIFY, - PUGL_LEAVE_NOTIFY, - PUGL_MOTION_NOTIFY, - PUGL_SCROLL, - PUGL_FOCUS_IN, - PUGL_FOCUS_OUT + PUGL_NOTHING, /**< No event */ + PUGL_BUTTON_PRESS, /**< Mouse button press */ + PUGL_BUTTON_RELEASE, /**< Mouse button release */ + PUGL_CONFIGURE, /**< View moved and/or resized */ + PUGL_EXPOSE, /**< View exposed, redraw required */ + PUGL_CLOSE, /**< Close view */ + PUGL_KEY_PRESS, /**< Key press */ + PUGL_KEY_RELEASE, /**< Key release */ + PUGL_ENTER_NOTIFY, /**< Pointer entered view */ + PUGL_LEAVE_NOTIFY, /**< Pointer left view */ + PUGL_MOTION_NOTIFY, /**< Pointer motion */ + PUGL_SCROLL, /**< Scroll */ + PUGL_FOCUS_IN, /**< Keyboard focus entered view */ + PUGL_FOCUS_OUT /**< Keyboard focus left view */ } PuglEventType; typedef enum { @@ -58,9 +58,9 @@ typedef enum { Reason for a PuglEventCrossing. */ typedef enum { - PUGL_CROSSING_NORMAL, /**< Crossing due to pointer motion. */ - PUGL_CROSSING_GRAB, /**< Crossing due to a grab. */ - PUGL_CROSSING_UNGRAB /**< Crossing due to a grab release. */ + PUGL_CROSSING_NORMAL, /**< Crossing due to pointer motion. */ + PUGL_CROSSING_GRAB, /**< Crossing due to a grab. */ + PUGL_CROSSING_UNGRAB /**< Crossing due to a grab release. */ } PuglCrossingMode; /** |