FLTK - Fast Light Tool Kit - https://github.com/fltk/fltk - cross platform GUI development
The old version was "synchronized" by calling Fl::check() in a loop which resulted in the highest speed possible on any platform. It turned out that this was way too fast on the Wayland platform as `valerius` posted on IRC/Matrix on Nov 30, 2024. Citation: "anyone else notice the cube demo on Wayland is mega ultra hyper speed?". I took the opportunity to change the demo to use a timer with a given frame rate (see constant 'FPS') to synchronize drawing. Note: the 'speed' slider is independent of the drawing frequency. Finally this commit adds statistics output when the 'Stats / Exit' button is pressed like Iterations = 304, runtime = 12.167 sec, fps = 24.99, requested: 25 with the requested frame rate (default = 25) and allows the user to continue to see more statistics. To do (very likely not in 1.4.x): 1. integrate running statistics in the display 2. make the desired frame rate variable at runtime (new slider) |
||
|---|---|---|
| .github | ||
| cairo | ||
| CMake | ||
| documentation | ||
| examples | ||
| FL | ||
| fltk-options | ||
| fluid | ||
| GL | ||
| jpeg | ||
| lib | ||
| libdecor | ||
| misc | ||
| nanosvg | ||
| png | ||
| public | ||
| src | ||
| test | ||
| util | ||
| zlib | ||
| .clang-format | ||
| .gitattributes | ||
| .gitignore | ||
| .gitlab-ci.yml | ||
| ANNOUNCEMENT | ||
| autogen.sh | ||
| CHANGES_1.0.txt | ||
| CHANGES_1.1.txt | ||
| CHANGES_1.3.txt | ||
| CHANGES.txt | ||
| CMakeLists.txt | ||
| config.guess | ||
| config.sub | ||
| configh.cmake.in | ||
| configh.in | ||
| configure.ac | ||
| COPYING | ||
| CREDITS.txt | ||
| fl_config.cmake.in | ||
| fl_config.in | ||
| fltk_version.dat | ||
| fltk-config.in | ||
| fltk.list.in | ||
| fltk.spec.in | ||
| fltk.xpm | ||
| forms.h | ||
| install-sh | ||
| mac_endianness.h | ||
| Makefile | ||
| makeinclude.in | ||
| makesrcdist | ||
| README.abi-version.txt | ||
| README.Cairo.txt | ||
| README.CMake.txt | ||
| README.experimental.txt | ||
| README.IDE.txt | ||
| README.macOS.md | ||
| README.md | ||
| README.txt | ||
| README.Unix.txt | ||
| README.Wayland.txt | ||
| README.Windows.txt | ||
README - Fast Light Tool Kit (FLTK) Version 1.4.0
WHAT IS FLTK?
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 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.
https://www.fltk.org/
https://github.com/fltk/fltk/
For more information see README.txt:
https://github.com/fltk/fltk/blob/master/README.txt