CHANGES.txt: Reorganize text about HighDPI support and GUI scaling

This commit is contained in:
ManoloFLTK 2022-12-17 08:34:48 +01:00
parent 3a55545dc0
commit 07041ea06e

View File

@ -19,22 +19,21 @@ Changes in FLTK 1.4.0 Released: ??? ?? 2022
New Features and Extensions New Features and Extensions
- X11 and Wayland platforms: Added support for HiDPI displays and for rescaling any window - X11 and Wayland platforms: Added support of HiDPI displays. FLTK apps
at run-time under user control. Under the gnome desktop, FLTK applications detect the current display scaling factor and use it to scale all windows.
detect the current gnome scaling factor and use it to scale all FLTK windows. - MSWindows platform: FLTK applications detect the display scaling factor and
Under other desktops, the FLTK_SCALING_FACTOR environment variable can be automatically scale their GUI accordingly. This effectively renders WIN32
used to set the starting scaling factor of all FLTK applications. FLTK apps "per-monitor DPI-aware" whereas they were "DPI-unaware" before.
In addition, it is possible to rescale all FLTK windows mapped to a screen - Dynamical GUI rescaling: it is possible on all platforms to rescale all
by typing ctrl-'+' (enlarge), ctrl-'-' (shrink) or ctrl-'0' (back to starting FLTK windows mapped to a screen by typing ctrl-'+' (enlarge), ctrl-'-'
factor value). Windows moved between screens adjust to the scaling factor of (shrink) or ctrl-'0' (back to starting scaling factor value). Under macOS,
their screen. This supports desktops mixing screens with distinct resolutions. the coresponding keystrokes are cmd-'+', cmd-'-', cmd-'0'. The resulting
- MSWindows platform: Added support for rescaling the GUI of any app GUI scaling factor (e.g., 170 %) transiently appears in a yellow popup window.
at run-time using the ctrl/+/-/0/ keystrokes. All applications Use new Fl::option() item OPTION_SHOW_SCALING to turn on/off these popups.
detect the desktop scaling factor and automatically scale their GUI Windows moved between screens adjust to the scaling factor of their screen.
accordingly. This effectively renders WIN32 FLTK apps "per-monitor DPI-aware" This supports desktops mixing screens with distinct resolutions.
whereas they were "DPI-unaware" with FLTK 1.3.x. In addition, use environment variable FLTK_SCALING_FACTOR to further adjust
- macOS platform: Added support for rescaling the GUI of any app at run-time the starting scaling factor of all FLTK apps.
using the command/+/-/0/ keystrokes.
- New Fl_Flex class to layout one row or one column of widgets. - New Fl_Flex class to layout one row or one column of widgets.
- New Fl::keyboard_screen_scaling(0) call stops recognition of ctrl/+/-/0/ - New Fl::keyboard_screen_scaling(0) call stops recognition of ctrl/+/-/0/
keystrokes as scaling all windows of a screen. keystrokes as scaling all windows of a screen.