aboutsummaryrefslogtreecommitdiff
path: root/dw
diff options
context:
space:
mode:
Diffstat (limited to 'dw')
-rw-r--r--dw/fltkcomplexbutton.cc8
-rw-r--r--dw/fltkcomplexbutton.hh3
2 files changed, 0 insertions, 11 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
diff --git a/dw/fltkcomplexbutton.hh b/dw/fltkcomplexbutton.hh
index f0ab7a24..3a14cfb2 100644
--- a/dw/fltkcomplexbutton.hh
+++ b/dw/fltkcomplexbutton.hh
@@ -63,9 +63,6 @@ public:
\param[in] b down box type
*/
void down_box(Fl_Boxtype b) {down_box_ = b;}
-
- /// (for backwards compatibility)
- void down_color(unsigned c) {selection_color(c);}
};
} // namespace ui