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.cxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/fl_shadow_box.cxx b/src/fl_shadow_box.cxx
index 1084da3a4..d89d09b68 100644
--- a/src/fl_shadow_box.cxx
+++ b/src/fl_shadow_box.cxx
@@ -17,7 +17,10 @@
#include <FL/Fl.H>
#include <FL/fl_draw.H>
-#define BW 3
+// Global parameters for box drawing algorithm:
+//
+// BW = box shadow width
+#define BW (Fl::box_shadow_width())
static void fl_shadow_frame(int x, int y, int w, int h, Fl_Color c) {
fl_color(FL_DARK3);