summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2025-12-06Fix doxygen warningsAlbrecht Schlosser
2025-12-06Wayland: remove memory access error while computing screen work areaManoloFLTK
2025-12-06Fluid: modernize Function Node classMatthias Melcher
2025-12-06Fluid: fix class prefix user input check.Matthias Melcher
2025-12-06Change arrow keys in log slider to even increments. #1232Matthias Melcher
2025-12-03Remove boxtype linke trick.Matthias Melcher
By defining boxtypes with underscores, box drawing cod ethat was not used was not linked, but with the introduction of themes, all boxes are available at all times. Reducing complexity.
2025-12-02Fix two compiler warnings [-Wsign-compare]Albrecht Schlosser
2025-12-01Fix more box drawing stuff - using Fl::box_bg(box())Albrecht Schlosser
The biggest changes are in src/Fl_Scroll.cxx where most of the changes are caused only by formatting (alignment). The behavior is the same for all boxtypes that had been covered by the old switch/case code and should be improved for other FL_*_FRAME boxtypes that had been ignored.
2025-12-01Add background (`bg`) attribute to table of boxtypesAlbrecht Schlosser
This is a first step to fix some background (re-)drawing issues in widgets. A new bit in the array of boxtypes can be used to determine if a particular boxtype uses a solid background (e.g. all FL_*_BOX types) or if the parent widget is responsible for drawing it (FL_NO_BOX and all FL_*_FRAME) types, and maybe more ... The old struct member `set` in the struct of boxtypes has been renamed to `flags` and is now used as a bit field. Except these changes, this first commit fixes the focus box drawing of specific boxtypes, as seen in unittest_schemes.cxx in the Fl_Check_Button with label "Check", and very likely more.
2025-12-01Fix DIR parsing on windows for non-US locale (#1344)Greg Ercolano
2025-11-30Fix menu crash dereferencing nullptr (#1335)Matthias Melcher
2025-11-29Fix names map for multiple includes.Matthias Melcher
2025-11-29Fix include fiel list.Matthias Melcher
2025-11-29Improve access to C++ symbols.Matthias Melcher
For events, fonts, and callback reasons
2025-11-29Improve and simplify test/clipboard.cxxAlbrecht Schlosser
- replace FL_OVERRIDE and NULL with 'override' and 'nullptr', resp. - remove useless global variable (declare it locally in main) - standardize callbacks using standard callback signatures - rename some callbacks with more appropriate names - fix layout of image display and image size info - improve alignment of text display - set window size_range (minimal window size)
2025-11-29Fluid: Fix crash when saving an empty project.Matthias Melcher
2025-11-29Fluid: convert modal panels into tabs in the widget panel (#1339)Matthias Melcher
2025-11-29Fluid: Fix unique id reader.Matthias Melcher
2025-11-29Wayland: remove code path that left workarea_xywh[*] unassigned (#1334)ManoloFLTK
2025-11-28Slight improvement of DnD support under WaylandManoloFLTK
2025-11-28Add method to list running timeouts (#1306).Matthias Melcher
\see Fl::timeout_list();
2025-11-27Fix typo for all but macOSMatthias Melcher
2025-11-27Refactor pen interface into driver system.Matthias Melcher
2025-11-26Add initial log support for sliders (#1232).Matthias Melcher
Works for all slider types. Adds tick marks to "nice slider". Defaults to linear if min or max is zero. There is room for improvement for drawing the tick marks.
2025-11-25Improve Wayland README to allow copy/paste resources.Matthias Melcher
There seem to be some lazy people who prefer copying and pasting a bunch of lines over entering every resource manually... .
2025-11-25Refactor large pulldown function into smaller functions.Matthias Melcher
2025-11-22Declutter draw and handle methods.Matthias Melcher
Refactoring long methods into smaller parts that are easier to understand.
2025-11-21Additional menu code cleanup.Matthias Melcher
Better variable names, More descriptive integer types.
2025-11-21Fix a few more warnings by Clang.Matthias Melcher
- Apple Clang 17.0.0. - png, z, jpeg lib integer cast warnings remain - FLTK callback function cast warnings remain.
2025-11-21Fix missing return statement.Matthias Melcher
2025-11-21Reformat src/Fl_Menu.cxx.Matthias Melcher
Reorder declarations and implementations. Rename to current FLTK standards, reformat.
2025-11-20Adjust some pen driver comments.Matthias Melcher
Made global variables private.
2025-11-20Improve documentation for popup menus.Matthias Melcher
Documented every function and variable in Fl_Menu.cxx.
2025-11-19Update Fluid format README.Matthias Melcher
2025-11-19Add headline menu item style (#1059)Matthias Melcher
A menu item can be designated as a headline. Fully integrated and used in Fluid.
2025-11-19Remove hidden vector font editor from test/fontMatthias Melcher
Undiscovered for 10 years, this crude vector font generator snuck into the font test ten years ago through a careless commit by yours truly. It's time to go now.
2025-11-18Improved clip handling/fix box()Greg Ercolano
2025-11-17Clip Fl_Terminal scrollbars (#1328)Greg Ercolano
2025-11-17Fix two macOS compiler warnings.Matthias Melcher
2025-11-17Add display_columns() controllerGreg Ercolano
Also fixed 'c' shortcut described in the onscreen help to show "Color Bars".
2025-11-17smoother scrolling in Fl_TerminalGreg Ercolano
2025-11-17Add pen/stylus/tablet API and driver for macOS (#1326)Matthias Melcher
* define the pen/tablet support API * add pen event handler stub as a fallback * add pen device test "penpal". * Add macOS pen/stylus/tablet driver. * Add Oxygen documentation.
2025-11-17Fix Cairo build and add FLTK_OPTION_CAIRO_WINDOW to CI buildAlbrecht Schlosser
... on GitHub (GitLab CI builds used it already)
2025-11-16Document with more details function fl_wl_gc()ManoloFLTK
2025-11-16Refactor large static class Fl into an expandable namespace Fl (#1325)Matthias Melcher
* Change class Fl into namespace Fl. * Untangle Fl namespace into themed headers. * cut line count of FL/Fl.H in half * FL/core subdirectory now holds short headers grouped by functionality.
2025-11-14Fl_Terminal doc fix for 8-bit RGB color ANSI/XTERM codesGreg Ercolano
2025-11-13Revert/fix a0654b59ac: FLTK_CONSOLIDATE_MOTION = OFFAlbrecht Schlosser
In commit a0654b59ac17ad5b7739b7136d00f2469b03d5fa all assignments to variable `fl_xmousewin` were erroneously put under control of macro FLTK_CONSOLIDATE_MOTION. This commit reverts this. The correct fix would have been to declare extern Fl_Window *fl_xmousewin; unconditionally which was eventually done in a later commit. The related variable `static Fl_Window *send_motion;` is still used under control of macro FLTK_CONSOLIDATE_MOTION.
2025-11-10Wayland: fix computation of screen workarea size.ManoloFLTK
This computation has been found possible only for single-display settings.
2025-11-10Declare some methods of Fl_Window 'const'Albrecht Schlosser
These Fl_Window methods are 'const' but had not been declared 'const': - uchar get_size_range(...) const - int shown() const - const Fl_Image *shape() const - int screen_num() const - fl_uintptr_t os_id() const
2025-11-10Attempt to improve description of CMake option FLTK_GRAPHICS_CAIROManoloFLTK