diff options
| author | Albrecht Schlosser <albrechts.fltk@online.de> | 2011-12-21 12:01:50 +0000 |
|---|---|---|
| committer | Albrecht Schlosser <albrechts.fltk@online.de> | 2011-12-21 12:01:50 +0000 |
| commit | 7788e3d699ec3eafdc1554759571696cb46974a2 (patch) | |
| tree | 348b663019a881df19b6d7a68dcb979d3a3f5c03 | |
| parent | c4e1e39f6be6b60c4cbd69e5b0a2eb6b87473dc1 (diff) | |
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.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9211 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
| -rw-r--r-- | src/fl_round_box.cxx | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/fl_round_box.cxx b/src/fl_round_box.cxx index 9baca6d79..40f87b7cd 100644 --- a/src/fl_round_box.cxx +++ b/src/fl_round_box.cxx @@ -43,7 +43,6 @@ static void draw(int which, int x,int y,int w,int h, int inset, Fl_Color color) 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 @@ static void draw(int which, int x,int y,int w,int h, int inset, Fl_Color color) 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(); |
