summaryrefslogtreecommitdiff
path: root/src/Fl_Button.cxx
diff options
context:
space:
mode:
authorMatthias Melcher <fltk@matthiasm.com>2010-04-09 22:18:05 +0000
committerMatthias Melcher <fltk@matthiasm.com>2010-04-09 22:18:05 +0000
commit927fd351655320ed90ceecedaf9ea58656594650 (patch)
treea9698d39716b54a81c88e5e2aa10656c062501ae /src/Fl_Button.cxx
parent08e71113e9b071be540c0ecb03287e647c0bc0c5 (diff)
Added new label alignments for image and text to Fluid.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7476 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_Button.cxx')
-rw-r--r--src/Fl_Button.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Fl_Button.cxx b/src/Fl_Button.cxx
index be41a01a4..23b974039 100644
--- a/src/Fl_Button.cxx
+++ b/src/Fl_Button.cxx
@@ -72,6 +72,7 @@ void Fl_Button::draw() {
if (type() == FL_HIDDEN_BUTTON) return;
Fl_Color col = value() ? selection_color() : color();
draw_box(value() ? (down_box()?down_box():fl_down(box())) : box(), col);
+ draw_backdrop();
if (labeltype() == FL_NORMAL_LABEL && value()) {
Fl_Color c = labelcolor();
labelcolor(fl_contrast(c, col));