Skip to content

Commit

Permalink
Doc only: better doc of recently added events: FL_SCREEN_CONFIGURATIO…
Browse files Browse the repository at this point in the history
…N_CHANGED, FL_FULLSCREEN,...

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@13035 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
  • Loading branch information
Manolo Gouy authored and Manolo Gouy committed Aug 30, 2018
1 parent d1df537 commit b3b2963
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
10 changes: 7 additions & 3 deletions FL/Enumerations.H
Expand Up @@ -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
};
Expand Down
3 changes: 1 addition & 2 deletions src/Fl.cxx
Expand Up @@ -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
Expand Down

0 comments on commit b3b2963

Please sign in to comment.