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