summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorAlbrecht Schlosser <albrechts.fltk@online.de>2025-12-01 18:36:04 +0100
committerAlbrecht Schlosser <albrechts.fltk@online.de>2025-12-01 23:06:37 +0100
commit5a6a7eb009cde5c0613418a11b0fb637f0cd9468 (patch)
tree87c694ec64091c02af916a7b959f16127c8c52e2 /examples
parent2e169770396fed12b3b9200b3354322924b36537 (diff)
Add background (`bg`) attribute to table of boxtypes
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.
Diffstat (limited to 'examples')
0 files changed, 0 insertions, 0 deletions