From c31a0f7deed55e684ce1ee9facb5899fc0f071d0 Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Wed, 13 Jan 1999 15:57:38 +0000 Subject: More color fixes from Bill. git-svn-id: file:///fltk/svn/fltk/trunk@214 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/Fl_Input_.cxx | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'src/Fl_Input_.cxx') diff --git a/src/Fl_Input_.cxx b/src/Fl_Input_.cxx index d98aa11bd..d4b68f796 100644 --- a/src/Fl_Input_.cxx +++ b/src/Fl_Input_.cxx @@ -1,5 +1,5 @@ // -// "$Id: Fl_Input_.cxx,v 1.14 1999/01/07 19:17:21 mike Exp $" +// "$Id: Fl_Input_.cxx,v 1.15 1999/01/13 15:57:38 mike Exp $" // // Common input widget routines for the Fast Light Tool Kit (FLTK). // @@ -230,8 +230,7 @@ void Fl_Input_::drawtext(int X, int Y, int W, int H) { } fl_clip(X, Y, W, H); - Fl_Color color = - active_r() ? contrast(textcolor(),this->color()) : inactive(textcolor()); + Fl_Color color = active_r() ? textcolor() : inactive(textcolor()); p = value(); // visit each line and draw it: @@ -736,5 +735,5 @@ Fl_Input_::~Fl_Input_() { } // -// End of "$Id: Fl_Input_.cxx,v 1.14 1999/01/07 19:17:21 mike Exp $". +// End of "$Id: Fl_Input_.cxx,v 1.15 1999/01/13 15:57:38 mike Exp $". // -- cgit v1.2.3