From cd399d989897e650cc7928c4ebd9bf89892d7995 Mon Sep 17 00:00:00 2001 From: Manolo Gouy Date: Wed, 8 Aug 2018 20:08:10 +0000 Subject: 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 --- FL/Enumerations.H | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'FL/Enumerations.H') 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 }; -- cgit v1.2.3