diff options
| -rw-r--r-- | FL/Enumerations.H | 10 | ||||
| -rw-r--r-- | src/Fl.cxx | 3 |
2 files changed, 8 insertions, 5 deletions
diff --git a/FL/Enumerations.H b/FL/Enumerations.H index 68b38f242..a2e5030fc 100644 --- a/FL/Enumerations.H +++ b/FL/Enumerations.H @@ -396,15 +396,19 @@ enum Fl_Event { // events Use Fl::add_handler() to be notified of this event. */ FL_SCREEN_CONFIGURATION_CHANGED = 24, - /** The fullscreen state of the window has changed + /** The fullscreen state of the window has changed. + This event is sent to the window's handle method. */ FL_FULLSCREEN = 25, - /** The user has made a zoom/pinch/magnification gesture. + /** The user has made a zoom/pinch/magnification gesture (Mac OS platform only). The Fl::event_dy() method can be used to find magnification amount, Fl::event_x() and Fl::event_y() are set as well. + This event is sent to the window's handle method. */ FL_ZOOM_GESTURE = 26, - /** A zoom event (crtl-/+/-/0/) was processed */ + /** A zoom event (crtl/+/-/0/ or cmd/+/-/0/) was processed. + Use Fl::add_handler() to be notified of this event. + */ FL_ZOOM_EVENT = 27 // DEV NOTE: Keep this list in sync with FL/names.h }; diff --git a/src/Fl.cxx b/src/Fl.cxx index 4bd7ec497..b29b7a260 100644 --- a/src/Fl.cxx +++ b/src/Fl.cxx @@ -741,8 +741,7 @@ static handler_link *handlers = 0; - \ref FL_SCREEN_CONFIGURATION_CHANGED events. Under X11, this event requires the libXrandr.so shared library to be loadable at run-time and the X server to implement the RandR extension. - - \ref FL_FULLSCREEN events sent to a window that enters or leaves - fullscreen mode. + - \ref FL_ZOOM_EVENT events. - System events that FLTK does not recognize. See fl_xevent. - \e Some other events when the widget FLTK selected returns zero from its handle() method. Exactly which ones may change |
