diff options
| author | Albrecht Schlosser <albrechts.fltk@online.de> | 2018-03-20 16:30:58 +0000 |
|---|---|---|
| committer | Albrecht Schlosser <albrechts.fltk@online.de> | 2018-03-20 16:30:58 +0000 |
| commit | f3b0598ee4b43b8ac8e7ef645cbd61e77f47376e (patch) | |
| tree | 31c13e8ba63951e254887db9c192f358b4c1b867 /misc/update_config_scripts | |
| parent | 3b4c3e32951cc8c1a976edfd4fcaa4bc21db01c9 (diff) | |
Fix, optimize, and comment "gleam" scheme box drawing.
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
Diffstat (limited to 'misc/update_config_scripts')
0 files changed, 0 insertions, 0 deletions
