Author: AlbrechtS
Date: 2011-12-21 06:35:56 -0800 (Wed, 21 Dec 2011)
New Revision: 9212
Log:
Fixed fl_round_box regression causing drawing artifacts (STR #2709).
Ported changes from 1.3.1 - note that this was visible only with the
(now non-default) scheme -s "classic".
Modified:
branches/branch-3.0/src/fltk3/round_box.cxx
Modified: branches/branch-3.0/src/fltk3/round_box.cxx
===================================================================
--- branches/branch-3.0/src/fltk3/round_box.cxx 2011-12-21 12:01:50 UTC (rev
9211)
+++ branches/branch-3.0/src/fltk3/round_box.cxx 2011-12-21 14:35:56 UTC (rev
9212)
@@ -57,7 +57,6 @@
int d = w <= h ? w : h;
if (d <= 1) return;
fltk3::color(color);
- fltk3::line_style(0,1);
void (*f)(int,int,int,int,double,double);
f = (which==FILL) ? fltk3::pie : arc_i;
if (which >= CLOSED) {
@@ -84,7 +83,6 @@
if (which != LOWER_RIGHT) fltk3::xyline(x+d/2-1, y, x+w-d/2+1);
}
}
- fltk3::line_style(0);
}
void fl_classic_round_down_box(int x, int y, int w, int h, fltk3::Color
bgcolor, fltk3::Boxtype) {
_______________________________________________
fltk-commit mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-commit