changeset 2036:6a8f4de33240

more
author corvid <corvid@lavabit.com>
date Thu, 19 May 2011 02:15:13 +0000
parents 5625ee0230ad
children 18bad2dd4d3b
files dw/fltkcomplexbutton.cc dw/fltkcomplexbutton.hh
diffstat 2 files changed, 0 insertions(+), 11 deletions(-) [+]
line wrap: on
line diff
--- a/dw/fltkcomplexbutton.cc	Wed May 18 16:19:58 2011 +0000
+++ b/dw/fltkcomplexbutton.cc	Thu May 19 02:15:13 2011 +0000
@@ -37,7 +37,6 @@
   if (value_ != v) {
     value_ = v;
     if (box()) redraw();
-    else redraw_label();
     return 1;
   } else {
     return 0;
@@ -47,13 +46,6 @@
 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
--- a/dw/fltkcomplexbutton.hh	Wed May 18 16:19:58 2011 +0000
+++ b/dw/fltkcomplexbutton.hh	Thu May 19 02:15:13 2011 +0000
@@ -63,9 +63,6 @@
     \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