summaryrefslogtreecommitdiff
path: root/src/fl_shadow_box.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/fl_shadow_box.cxx')
-rw-r--r--src/fl_shadow_box.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fl_shadow_box.cxx b/src/fl_shadow_box.cxx
index a3d881906..3b020f920 100644
--- a/src/fl_shadow_box.cxx
+++ b/src/fl_shadow_box.cxx
@@ -25,12 +25,12 @@ static void fl_shadow_frame(int x, int y, int w, int h, Fl_Color c) {
fl_color(FL_DARK3);
fl_rectf(x+BW, y+h-BW, w - BW, BW);
fl_rectf(x+w-BW, y+BW, BW, h - BW);
- fl_color(c);
+ Fl::set_box_color(c);
fl_rect(x,y,w-BW,h-BW);
}
static void fl_shadow_box(int x, int y, int w, int h, Fl_Color c) {
- fl_color(c);
+ Fl::set_box_color(c);
fl_rectf(x+1,y+1,w-2-BW,h-2-BW);
fl_shadow_frame(x,y,w,h,FL_GRAY0);
}