From b74099c5fdb3fcbe7a6b89fc05069e219f7fb36c Mon Sep 17 00:00:00 2001 From: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> Date: Sat, 2 Mar 2024 17:25:10 +0100 Subject: Add OPTION_SIMPLE_ZOOM_SHORTCUT to fine tune zoom-in shortcut --- fltk-options/fltk-options.cxx | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'fltk-options/fltk-options.cxx') 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 -- cgit v1.2.3