diff options
author | corvid <corvid@lavabit.com> | 2011-05-19 02:15:13 +0000 |
---|---|---|
committer | corvid <corvid@lavabit.com> | 2011-05-19 02:15:13 +0000 |
commit | c73820831ebc3e131b589554bc9558bcc693aa35 (patch) | |
tree | dd88ef647a6de964e3c34e89150eccbebfb89ab5 /dw/fltkcomplexbutton.cc | |
parent | cf3a85c54bf483f86dea0ff952452cec25375be2 (diff) |
more
Diffstat (limited to 'dw/fltkcomplexbutton.cc')
-rw-r--r-- | dw/fltkcomplexbutton.cc | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/dw/fltkcomplexbutton.cc b/dw/fltkcomplexbutton.cc index 63ce0086..359367bf 100644 --- a/dw/fltkcomplexbutton.cc +++ b/dw/fltkcomplexbutton.cc @@ -37,7 +37,6 @@ int ComplexButton::value(int v) { if (value_ != v) { value_ = v; if (box()) redraw(); - else redraw_label(); return 1; } else { return 0; @@ -47,13 +46,6 @@ int ComplexButton::value(int v) { void ComplexButton::draw() { 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)); - draw_label(); - labelcolor(c); - } else draw_label(); if (Fl::focus() == this) draw_focus(); // ComplexButton is a Group; draw its children |