diff options
| author | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2024-03-02 17:25:10 +0100 |
|---|---|---|
| committer | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2024-03-02 17:25:10 +0100 |
| commit | b74099c5fdb3fcbe7a6b89fc05069e219f7fb36c (patch) | |
| tree | 4977b4ee5324f96576c03e74345145738ae86db4 /FL | |
| parent | a76229972e1c502690cdf584f157db2ba612d5c2 (diff) | |
Add OPTION_SIMPLE_ZOOM_SHORTCUT to fine tune zoom-in shortcut
Diffstat (limited to 'FL')
| -rw-r--r-- | FL/Fl.H | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -277,6 +277,12 @@ public: /// Meaningful for the Wayland/X11 platform only. When switched on (default), the library uses a Zenity-based file dialog. /// When switched off, the GTK file dialog is used instead. OPTION_FNFC_USES_ZENITY, + /// When switched on and when the keyboard in use has '+' in the shifted position of its key, + /// pressing that key and ctrl triggers the zoom-in operation. + /// When switched off (default), the zoom-in operation requires that also the shift key is pressed. + /// Under macOS, this option has no effect because the OS itself generates ⌘= followed + /// by ⌘+ when pressing ⌘ and the '=|+' key without pressing shift. + OPTION_SIMPLE_ZOOM_SHORTCUT, // don't change this, leave it always as the last element /// For internal use only. OPTION_LAST @@ -1085,6 +1091,7 @@ public: callback can be associated with Fl::add_handler(). By default, FLTK displays the new scaling factor value in a yellow, transient window. This can be changed with option Fl::OPTION_SHOW_SCALING. + See also Fl::OPTION_SIMPLE_ZOOM_SHORTCUT. @{ */ static int x(); // via screen driver static int y(); // via screen driver |
