summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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
2024-11-19FLUID: fixing autodocs file leak and memory leakMatthias Melcher
2024-11-19Add 2 other missing FL_EXPORT qualifiersManoloFLTK
2024-11-19Add 2 missing FL_EXPORT qualifiersManoloFLTK
2024-11-19 Fix fl_draw_image sometimes crashes when window is scaled (#1134)ManoloFLTK
2024-11-18Fix: Fullscreen regression between release-1.4.0rc2 and release-1.4.0rc3 on ↵ManoloFLTK
macOS( #1129)
2024-11-18Fix: Rounding issues with Fl_RGB_Image::draw() + window scaling (#1128)ManoloFLTK
2024-11-18MSVC: Fix array allocation in test/fltk-versions (#1131)Albrecht Schlosser
2024-11-17Update ANNOUNCEMENT for release 1.4.0Albrecht Schlosser
2024-11-17Update 'CHANGES.txt' for release 1.4.0Albrecht Schlosser
2024-11-17Finish release 1.4.0Albrecht Schlosser
1) Improve and clarify documentation: - update, reformat, and reorder parts of CREDITS.txt - make sure that documentation appears in doxygen docs - add '\since 1.4.0' to documentation of new methods and functions - remove doxygen's '\brief' where not required (we're using JAVADOC_AUTOBRIEF = YES) - clarify screen scaling, scaling factor, and related stuff - add more info about backwards compatibility for X11 specific code 2) Update dependencies
2024-11-17Improve 'test/fltk-versions' demo programAlbrecht Schlosser
- add code to get the platform and backend - display platform and backend on screen - improve and simplify layout (using Fl_Grid) - add version check indicator
2024-11-15Fixes Alt-modifier handling in Fl_Shorcut_Button on macOSMatthias Melcher
2024-11-13Update CREDITS.txtAlbrecht Schlosser
2024-11-13Fix Cairo: Rounding issues with Fl_RGB_Image::draw() + Fl_Copy_Surface (#1124)ManoloFLTK
2024-11-12Windows: Fix flicker/animation when transitioning from fullscreen to maximizeddannye
2024-11-12 Fix for Windows and X11: Rounding issues with Fl_RGB_Image::draw() (#1120)ManoloFLTK
2024-11-12 Fix Keyboard shortcut (alt + letter) does not work in input widget-Windows ↵ManoloFLTK
(#1122)
2024-11-09Revert gtk+ specific "chevron style" arrow drawing (#1117)Albrecht Schlosser
After comparison with older versions I realized that the gtk+ specific "chevron style" was previously used *exclusively* in Fl_Scrollbar. Unfortunately I had picked this style as template for all arrows. GitHub Issue #1117 requested to add an option for users to change the arrow style but after my investigation I decided to use the "old style" (triangles) for all schemes (except "oxy" that has its own drawing methods). **IF** it turned out that we need the gtk specific drawing for scrollbars we could easily reactivate the "chevron style" by adding yet another arrow type - but I hope this is not necessary.
2024-11-09Fix Windows: fullscreen_off does not correctly preserve window size (#1116)ManoloFLTK
2024-11-09Wayland: protect against rounding errors in copy_region()ManoloFLTK