diff options
| author | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2024-03-03 08:15:42 +0100 |
|---|---|---|
| committer | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2024-03-03 08:15:42 +0100 |
| commit | 4db9391525ca0e9868b57826c14f0584a8d0b701 (patch) | |
| tree | bee6e5bc23b3d9ef72f1045c63f114afc07ab421 /FL | |
| parent | 257e20e929e03f31f46b310f08b0254b016c77a5 (diff) | |
Update doc about Ctrl/+/-/0/ zoom shortcuts
Diffstat (limited to 'FL')
| -rw-r--r-- | FL/Fl.H | 8 |
1 files changed, 2 insertions, 6 deletions
@@ -1086,12 +1086,8 @@ public: can be set to a value FLTK will multiply to the OS-given value. The 2 variants of functions Fl::screen_scale() allow to programmatically get and set scaling factor values. The scaling factor value can be further changed at runtime - by typing ctrl-/+/-/0/ (cmd-/+/-/0/ under macOS). FLTK sends the - \ref FL_ZOOM_EVENT when the factor value is changed, to which a - 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. + by typing \c Ctrl/+/-/0/ (\c Cmd/+/-/0/ under macOS). + See \ref events_fl_shortcut for more details about these shortcuts. @{ */ static int x(); // via screen driver static int y(); // via screen driver |
