Albrecht Schlosser 5160567728 Use a constant frame rate (25 fps) in test/cube demo
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)
2024-12-01 16:43:31 +01:00
2024-02-07 18:37:34 +01:00
2024-11-27 08:38:37 +01:00
2024-06-17 10:24:20 +02:00
2024-11-17 20:01:46 +01:00
2024-10-20 17:00:16 +02:00
2024-10-29 20:10:53 +01:00
2024-10-18 14:39:28 +02:00
2024-10-18 14:39:28 +02:00
2024-11-17 20:01:46 +01:00

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

Build

Build FLUID User Manual.

S
Description
FLTK - Fast Light Tool Kit - https://github.com/fltk/fltk - cross platform GUI development
Readme 78 MiB
Languages
C++ 52.6%
C 41.9%
Objective-C++ 1.8%
Roff 1.8%
CMake 1.4%
Other 0.4%