- Fl_Dynamic_Color enum
- Fl::dynamic_color() APIs
- Fl_System_Driver::dynamic_color() API
- FL_DYNAMIC_COLOR_CHANGED event
- Add method for querying dark mode to macOS system and screen drivers.
- Check/update mode whenever we get a layout change from macOS.
- Add detection of dark mode on macOS by using the effectiveAppearance
property.
- Force redraw of all windows when changing the mode.
- Update Cocoa set_system_colors method to override colors when dynamic
mode isn't off.
- Add (temporary) support for FL_DYNAMIC_COLOR environment variable to
override default "off" mode for testing.
To do: add dark mode detection on other platforms than macOS.
Note: Branch 'darkmode' rebased, squashed, and extended
by Albrecht-S on Dec 17, 2023.
The Fast Light Tool Kit is a cross-platform C++ GUI toolkit for
UNIX®/Linux® (X11 or Wayland), Microsoft® Windows®, and macOS®.
FLTK provides modern GUI functionality without the bloat and
supports 3D graphics via OpenGL® and its built-in GLUT
emulation. It was originally developed by Mr. Bill Spitzak
and is currently maintained by a small group of developers
across the world with a central repository on GitHub.
For more information see README.txt:
https://github.com/fltk/fltk/blob/master/README.txt