summaryrefslogtreecommitdiff
path: root/src/fl_gleam.cxx
AgeCommit message (Collapse)Author
41 hourswipmaxim nikonov
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.
2024-04-26Box types can now defined and draw their own focus frame, STR 2145, #659Matthias Melcher
2020-07-06Remove $Id$ tags, update URL's, and moreAlbrecht Schlosser
- remove obsolete svn '$Id$' tags from all source files - update .fl files and generated files accordingly - replace 'http://www.fltk.org' URL's with 'https://...' - replace bug report URL 'str.php' with 'bugs.php' - remove trailing whitespace - fix other whitespace errors flagged by Git - add and/or fix missing or wrong standard headers - convert tabs to spaces in all source files The only relevant code changes are in the fluid/ folder where some .fl files and other source files were used to generate the '$Id' headers and footers.
2018-03-20Fix, optimize, and comment "gleam" scheme box drawing.Albrecht Schlosser
Some border lines were too short or too long, the shading code would draw too many shaded lines, and the code was hard to understand. With this commit all background pixels of the box are drawn exactly once. The border lines are consistent, but some pixels of the border are not drawn at all so the background shines through. This is intended for backwards compatibility. A minor change is that the drawn background does no longer overlap the border lines. Hence undrawn pixels that previously displayed the colored box background are now transparent and show the parent's background color. This commit adds comments and implementation notes to make the code easier to understand and better maintainable (hopefully). git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12779 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-02-10Fix MSWindows compile issues.Matthias Melcher
Fixed a few warnings and a compilation issue introduced from previous reorganization. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11143 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-07-09Fix box background drawing for deactivated widgets (STR #2907).Albrecht Schlosser
Two new static methods have been introduced: - Fl::box_color(Fl_Color c) returns the bg color dependent on the widget's state (inactive_r()). - Fl::set_box_color(Fl_Color c) sets the correct bg color dependent on the widget's state by calling fl_color(Fl::box_color(c)). git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10781 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-11-18Use fl_xyline() and fl_yxline() that are better for horizontal and vertical ↵Manolo Gouy
lines. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10460 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-05-02Remove use of the macro min() from fl_gleam code, since it triggers ↵Ian MacArthur
redefinition warnings on some build hosts. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10143 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-05-01Modify fl_gleam.cxx to experimentally removeIan MacArthur
an inclde of <iostreams> and a call to "using namespace std;" that appear to be unnecessary in this code. Also add the svn $Id$ lines, which appear to have been missing before. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10141 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-02-25Added fl_gleam.cxx..Greg Ercolano
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10114 ea41ed52-d2ee-0310-a9c1-e6b18d33e121