summaryrefslogtreecommitdiff
path: root/fltk-options/fltk-options.cxx
diff options
context:
space:
mode:
authorManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2024-03-02 17:25:10 +0100
committerManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2024-03-02 17:25:10 +0100
commitb74099c5fdb3fcbe7a6b89fc05069e219f7fb36c (patch)
tree4977b4ee5324f96576c03e74345145738ae86db4 /fltk-options/fltk-options.cxx
parenta76229972e1c502690cdf584f157db2ba612d5c2 (diff)
Add OPTION_SIMPLE_ZOOM_SHORTCUT to fine tune zoom-in shortcut
Diffstat (limited to 'fltk-options/fltk-options.cxx')
-rw-r--r--fltk-options/fltk-options.cxx7
1 files changed, 7 insertions, 0 deletions
diff --git a/fltk-options/fltk-options.cxx b/fltk-options/fltk-options.cxx
index b10277c1e..526e1d680 100644
--- a/fltk-options/fltk-options.cxx
+++ b/fltk-options/fltk-options.cxx
@@ -156,6 +156,13 @@ Fo_Option_Descr g_option_list[] = {
"If 'Transiently show scaling factor' is enabled, the library shows in a "
"transient popup window the display scaling factor value when it is "
"changed. If disabled, no such transient window is used." },
+ { FO_OPTION_BOOL, "Allow simple zoom-in shortcut:",
+ Fl::OPTION_SIMPLE_ZOOM_SHORTCUT, "OPTION_SIMPLE_ZOOM_SHORTCUT", "SimpleZoomShortcut", false,
+ "Fine tune the shortcut that triggers the zoom-in operation.",
+ "When the keyboard in use has '+' in the shifted position of its key, "
+ "pressing that key and ctrl triggers the zoom-in operation. "
+ "If disabled, the zoom-in operation requires the shift key to be pressed also "
+ "with such a keyboard." },
// -- When adding new options here, please make sure that you also update
// -- documentation.src/fltk-options.dox
// -- and