diff options
| author | Manolo Gouy <Manolo> | 2018-08-08 20:08:10 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2018-08-08 20:08:10 +0000 |
| commit | cd399d989897e650cc7928c4ebd9bf89892d7995 (patch) | |
| tree | d0e6d7f02a53a9ead62c88c34cb84580a24a3fc2 /FL/Enumerations.H | |
| parent | fb0f940c517d4f0f0f2f22f92acc54c9f5b37242 (diff) | |
Support for GUI scaling: add API to get/set the scaling factor value.
Also, define an FLTK event triggered when the scaling is changed and an option
to disable the transient window showing the new scaling factor.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@13011 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'FL/Enumerations.H')
| -rw-r--r-- | FL/Enumerations.H | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/FL/Enumerations.H b/FL/Enumerations.H index 2a1908f8e..68b38f242 100644 --- a/FL/Enumerations.H +++ b/FL/Enumerations.H @@ -403,8 +403,9 @@ enum Fl_Event { // events The Fl::event_dy() method can be used to find magnification amount, Fl::event_x() and Fl::event_y() are set as well. */ - FL_ZOOM_GESTURE = 26 - + FL_ZOOM_GESTURE = 26, + /** A zoom event (crtl-/+/-/0/) was processed */ + FL_ZOOM_EVENT = 27 // DEV NOTE: Keep this list in sync with FL/names.h }; |
