From 296efbe0929b4d3f7676d5eac62c3a13ba31de1a Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Thu, 19 May 2005 12:13:35 +0000 Subject: Update Fl_Tabs to draw selected tabs using labelcolor() of the Fl_Tabs widget instead of using fl_contrast. Draw round plastic buttons round... git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4357 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/fl_plastic.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/fl_plastic.cxx') diff --git a/src/fl_plastic.cxx b/src/fl_plastic.cxx index a3c1cbe1f..e8bbb9ffa 100644 --- a/src/fl_plastic.cxx +++ b/src/fl_plastic.cxx @@ -267,8 +267,8 @@ static void thin_up_box(int x, int y, int w, int h, Fl_Color c) { static void up_round(int x, int y, int w, int h, Fl_Color c) { if (w != h) up_box(x, y, w, h, c); else { - shade_round(x + 1, y + 1, w - 2, h - 3, "RVQNOPQRSTUVWVQ", c); - frame_round(x, y, w, h - 1, "IJLM", c); + shade_round(x + 1, y + 1, w - 2, h - 2, "RVQNOPQRSTUVWVQ", c); + frame_round(x, y, w, h, "IJLM", c); } } @@ -287,8 +287,8 @@ static void down_box(int x, int y, int w, int h, Fl_Color c) { static void down_round(int x, int y, int w, int h, Fl_Color c) { if (w != h) down_box(x, y, w, h, c); else { - shade_round(x + 2, y + 2, w - 4, h - 5, "STUVWWWVT", c); - frame_round(x, y, w, h - 1, "MLJI", c); + shade_round(x + 2, y + 2, w - 4, h - 4, "STUVWWWVT", c); + frame_round(x, y, w, h, "MLJI", c); } } -- cgit v1.2.3