summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2024-12-09FLUID: avoid trailing spaces in empty comment lines (#1161)Matthias Melcher
2024-12-09Update Fluid (.fl) files for release 1.4.1Albrecht Schlosser
2024-12-09Bump version numbers for release 1.4.1Albrecht Schlosser
To do: update CHANGES.txt with real info.
2024-12-09Fixes triggering callback for inactive menu items (#1159)Matthias Melcher
The old code would trigger a callback when hovering the mouse of an inactive item and pressing Return.
2024-12-09 Fix: Hang/Infinite loop on submenu with all inactive/invisible items (#1158)ManoloFLTK
2024-12-09Fix: Mouse hover+Enter key selects inactive menu items (#1159)ManoloFLTK
2024-12-09No need to link to libgtk when using package libdecor-0-devManoloFLTK
2024-12-07Update README.Windows.txtAlbrecht Schlosser
- update FLTK version to "1.x" or "1.x.y" - update and verify included links - note that MinGW download links could not be verified - add MSYS2 / MinGW-w64
2024-12-07Giving access to some Fl_Text_Display member variables (#1153)Matthias Melcher
And typos in FLUID source code docs.
2024-12-07Update build instructions in README.Unix.txt (#67)Albrecht Schlosser
These build instructions are as up-to-date as possible although there are still references to FLTK 1.3 (e.g. under NetBSD). Closes #67.
2024-12-06glpuzzle: smoother animation at 72fpsMatthias Melcher
2024-12-06glpuzzle: fixes timer and trackball max speedMatthias Melcher
Using 50fps instead of maximum render speed. Trackball limited to non-head-spinning speeds.
2024-12-06Remove unnecessary friend declarationManoloFLTK
2024-12-05Fix button down state when triggered by shortcut (#1145)dannye
The visual feedback is really important. I was not aware that my patch suppressed that. And for the state values, I find it best to get back to what 1.3 did at this point. `value` is essential for check boxes and radio and toggle buttons. On push buttons, it has really not much of a meaning.
2024-12-05Update bundled libpng to version 1.6.44ManoloFLTK
2024-12-04Improve timer statistics in test/cube demoAlbrecht Schlosser
These timer statistics are useful to see the interaction of OpenGL drawing and FLTK timers (Fl::add_timer + Fl::repeat_timer).
2024-12-04Fixes warning in cube.cxx.Matthias Melcher
2024-12-04FLUID: Fixes more places to clear cached pointers.Matthias Melcher
2024-12-04FLUID: clearing caches browser values (#1152)Matthias Melcher
2024-12-04FLUID: Fixes default settings tab.Matthias Melcher
2024-12-04FLUID: minor improvemnets to buffer handling (#1152)Matthias Melcher
The described crash can not be reproduced. The changes improve the stability of the call that causes the crash.
2024-12-03FLUID: avoid generating undo un spurious relayout events, #1152Matthias Melcher
2024-12-03Fi: Building with FLTK_BUILD_GL=0 fails on systems without opengl installed ↵ManoloFLTK
(#1151)
2024-12-03Documentation only: add details about fl_override_scale() and clip.ManoloFLTK
2024-12-03Fix Drawing bugs on Windows at very large scales (#1144) - cont'dManoloFLTK
2024-12-03Clarify use of Fl_Tabs::clieant_area()Matthias Melcher
2024-12-02Add comment linking source code to related information in issue #1149ManoloFLTK
2024-12-02Fix: Drawing bugs on Windows at very large scales (#1144)ManoloFLTK
2024-12-02Document that function fl_scroll() doesn't work OK with non integral scaling ↵ManoloFLTK
factors and explain how to get correct results.
2024-12-02Fix Fl_Scroll with real *_BOX draws over scrollbars at non-default scales ↵ManoloFLTK
(#1149)
2024-12-01FLUID: Fixing Project Modflags when adding shell commands.Matthias Melcher
2024-12-01Use a constant frame rate (25 fps) in test/cube demoAlbrecht Schlosser
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-11-29Enable building the CubeView demo w/o requiring '<config.h>'Albrecht Schlosser
This allows to build the CubeView demo from the unmodified FLTK sources w/o having to provide a 'config.h' file by defining HAVE_GL=1 on the compiler commandline. See also comment in test/CubeView.h. test/CubeMain.cxx: don't include <config.h> at all (not needed) test/CubeView.h: #include <config.h> only if HAVE_GL is not defined
2024-11-28Fix changed flag for radio buttons (#1146)dannye
2024-11-28Improve procedure to construct best link command for macOS platformManoloFLTK
As discussed between Matthias, Albrecht and Manolo, the best procedure is - use MAC_OS_X_VERSION_MAX_ALLOWED but not __MAC_OS_X_VERSION_MAX_ALLOWED; - compile helper file CMake /macOSMaxAllowed.c to detect whether the SDK in use is in version above a given threshold version number; - based upon the result of this check, decide to weakly link or not a given framework.
2024-11-27Add missing FL_EXPORT qualifierManoloFLTK
2024-11-27Restore pixmap drawing under X11-noCairo broken by 0952d59ManoloFLTK
2024-11-27Restore building with configure --disable-print (#1147)ManoloFLTK
2024-11-26Fix Makefile example in chapter "FLTK Basics"Albrecht Schlosser
- move linker rule from 'all' to '$(TARGET)' - remove '$(TARGET) $(OBJS)' from rule 'clean' The 'clean' rule required to build everything before it was deleted which was obviously not intended.
2024-11-25 Fix: Graphical glitches on 101 DPI screen (#1138)ManoloFLTK
2024-11-25Windows: Fix rescale bug while window is fullscreendannye
Possible via the Win+Shift+Left/Right keyboard shortcuts
2024-11-25Windows: Fix rescale bug while window is maximizeddannye
2024-11-24Fix compiler warning (g++ 14) [-Wstringop-overflow]Albrecht Schlosser
New compiler warning detected by g++ 14.2.0 building with CMake in Release mode. This *temporary* fix suppresses the warning but uses even larger fixed size buffers. Todo: these nasty warnings caused by using fixed buffer sizes should be removed by using std::string in FLTK 1.5.0.
2024-11-24Improve output of 'fltk-options -h' and '-L*'Albrecht Schlosser
This commit includes minor code formatting w/o semantic changes and fixes some typos.
2024-11-23Increase clipping stack size (#1139)Albrecht Schlosser
2024-11-21FLUID: avoiding integer overflow warning.Matthias Melcher
2024-11-21FLUID: autodoc image memory allocation fix.Matthias Melcher
2024-11-20 Fix: Can't control scale of Fl_Copy_Surface dimensions on Linux (#1135)ManoloFLTK
2024-11-20Fix fl_draw_image sometimes crashes when window is scaled - cont'd (#1134)ManoloFLTK
2024-11-20Fix fl_draw_image sometimes crashes when window is scaled - cont'd (#1134)ManoloFLTK