Author: AlbrechtS
Date: 2011-12-21 04:01:50 -0800 (Wed, 21 Dec 2011)
New Revision: 9211
Log:
Fixed fl_round_box regression causing drawing artifacts (STR #2709).
Regression was from svn r8630 (STR #2615), adding fl_line_style() settings
that turned out to cause side effects on fl_round_box drawing and others.
Modified:
branches/branch-1.3/src/fl_round_box.cxx
Modified: branches/branch-1.3/src/fl_round_box.cxx
===================================================================
--- branches/branch-1.3/src/fl_round_box.cxx 2011-12-21 10:42:14 UTC (rev
9210)
+++ branches/branch-1.3/src/fl_round_box.cxx 2011-12-21 12:01:50 UTC (rev
9211)
@@ -43,7 +43,6 @@
int d = w <= h ? w : h;
if (d <= 1) return;
fl_color(color);
- fl_line_style(0,1);
void (*f)(int,int,int,int,double,double);
f = (which==FILL) ? fl_pie : fl_arc_i;
if (which >= CLOSED) {
@@ -70,7 +69,6 @@
if (which != LOWER_RIGHT) fl_xyline(x+d/2-1, y, x+w-d/2+1);
}
}
- fl_line_style(0);
}
extern uchar* fl_gray_ramp();
_______________________________________________
fltk-commit mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-commit