summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2025-12-29Fix Fl_Pack to support more box types.Matthias Melcher
Old code supported only frame styles, this code can now handle box types with a background.
2025-12-25Add Fl_Scheme::plastic_color_average() method [#464]Albrecht Schlosser
This method can be used to set a more appropriate color average to prevent "graying out" the box colors of the 'plastic' scheme. Alternatively environment variable 'FLTK_PLASTIC_AVERAGE' can be used to set the color average value. See docs for details. Set color average to 45% in test/unittests demo program.
2025-12-25Remove dead code from 'plastic' scheme implementationAlbrecht Schlosser
- The removed code had been disabled in the year 2003 or earlier for reasons mentioned in those old commits and has never been officially used again. Use `git blame` to find these commits. - Update comments and copyright. - Remove empty lines.
2025-12-25Fix doxygen warning (missing end quote)Albrecht Schlosser
2025-12-23Fix typos in documentation of FL_APP_ACTIVATEManoloFLTK
2025-12-22Wayland: Fix FL_APP_ACTIVATE with timer.Matthias Melcher
Deferred handling of FL_APP_DEACTIVATE works very well.
2025-12-22Wayland: fixes syntax errorsMatthias Melcher
This code generates a lot of extra events
2025-12-21Wayland: FL_APP_ACTIVATE and FL_APP_DEACTIVATEMatthias Melcher
This is an attempt. Will verify on another machine now.
2025-12-21Win32: Add FL_APP_ACTIVATE and DEACTIVATEMatthiasWM
2025-12-21MacOS: Add FL_APP_ACTIVATE and DEACTIVATE.Matthias Melcher
This event is sent on application level. Add a handler with Fl::add_handler to receive the event.
2025-12-21Win32: removed debugger messagesMatthiasWM
2025-12-21Win32: first commit for Pen driver (#1330)MatthiasWM
2025-12-21Win32: mergeMatthiasWM
2025-12-21Win32: Basic Pen driver setupMatthiasWM
2025-12-19Add Fl_Gl_Window 32 bit depth buffer option.Matthias Melcher
2025-12-16Remove typo in variable nameManoloFLTK
2025-12-15Windows: Fix "If app appears on non-active screen …, window resizes"- ↵ManoloFLTK
cont'd (#259)
2025-12-13Same change for all other platforms.Matthias Melcher
2025-12-13Fix overzealous C++11ification in Pen driver.Matthias Melcher
2025-12-13Windows: Fix "If app appears on non-active screen …, window resizes" (#259)ManoloFLTK
The fix puts the first window an app creates on the screen containing the mouse, because the present window creation code needs to know on what screen a created window is going to appear before creating it.
2025-12-12class Fl_Wayland_Screen_Driver: add initialisation of member variable ↵ManoloFLTK
xdg_wm_dialog
2025-12-10Add access to a list of registered plugin klasses.Matthias Melcher
2025-12-09Silence macOS (clang) compiler warningAlbrecht Schlosser
warning: anonymous non-C-compatible type given name for linkage purposes by typedef declaration; add a tag name here [-Wnon-c-typedef-for-linkage] 399 | typedef struct { | ^ Weird. This file is compiled as C++ but clang warns about a "non-C-compatible type". Anyway, this commit fixes the warning.
2025-12-08Wayland: add support of the "XDG dialog windows" protocolManoloFLTK
2025-12-08Improve documentation generation for older Doxygen versionsAlbrecht Schlosser
Currently supported Doxygen versions: 1.9.1 and higher. Tested up to Doxygen 1.13.2 as of today. Older doxygen versions may generate bogus warnings or even fail to interpret correct C++ syntax.
2025-12-06Fix doxygen warningsAlbrecht Schlosser
2025-12-06Wayland: remove memory access error while computing screen work areaManoloFLTK
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-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-11-30Fix menu crash dereferencing nullptr (#1335)Matthias Melcher
2025-11-29Fluid: convert modal panels into tabs in the widget panel (#1339)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-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-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-18Improved clip handling/fix box()Greg Ercolano
2025-11-17Clip Fl_Terminal scrollbars (#1328)Greg Ercolano