From 8862df495007676f47ba4d858dba748733c79196 Mon Sep 17 00:00:00 2001 From: Greg Ercolano Date: Sun, 28 Dec 2014 21:09:30 +0000 Subject: Added docs to Fl_Event referencing use of fl_eventnames[] and FL/names.h git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10506 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- FL/Enumerations.H | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/FL/Enumerations.H b/FL/Enumerations.H index ec2619ca5..6761dadf4 100644 --- a/FL/Enumerations.H +++ b/FL/Enumerations.H @@ -91,8 +91,12 @@ valid until the next event is read from the window system, so it is ok to look at it outside of the handle() method. + Event numbers can be converted to their actual names using the + \ref fl_eventnames[] array defined in \#include <FL/names.h> + \sa Fl::event_text(), Fl::event_key(), class Fl:: */ +// DEV NOTE: Keep this list in sync with FL/names.H enum Fl_Event { // events /** No event. */ FL_NO_EVENT = 0, -- cgit v1.2.3