Doc only: better doc of recently added events: FL_SCREEN_CONFIGURATION_CHANGED, FL_FULLSCREEN,...

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@13035 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Manolo Gouy 2018-08-30 08:31:53 +00:00
parent d1df5376f1
commit b3b29632fb
2 changed files with 8 additions and 5 deletions

View File

@ -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
};

View File

@ -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