From 7788e3d699ec3eafdc1554759571696cb46974a2 Mon Sep 17 00:00:00 2001 From: Albrecht Schlosser Date: Wed, 21 Dec 2011 12:01:50 +0000 Subject: 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 --- src/fl_round_box.cxx | 2 -- 1 file changed, 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(); -- cgit v1.2.3