From 41d027ebfb33de38c8761defe926f5f681489143 Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Tue, 5 Jan 1999 17:57:49 +0000 Subject: Fix from Carl - the inactive() function now works with all colors, and all widgets now use it. git-svn-id: file:///fltk/svn/fltk/trunk@185 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- FL/Enumerations.H | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'FL') diff --git a/FL/Enumerations.H b/FL/Enumerations.H index f11c75dcc..4420c186e 100644 --- a/FL/Enumerations.H +++ b/FL/Enumerations.H @@ -1,5 +1,5 @@ // -// "$Id: Enumerations.H,v 1.6 1998/12/22 18:26:10 mike Exp $" +// "$Id: Enumerations.H,v 1.7 1999/01/05 17:57:47 mike Exp $" // // Enumerations for the Fast Light Tool Kit (FLTK). // @@ -277,7 +277,7 @@ enum Fl_Color { // standard colors FL_COLOR_CUBE = 56 }; -inline Fl_Color inactive(Fl_Color c) {return (Fl_Color)(c|8);} +Fl_Color inactive(Fl_Color c); Fl_Color contrast(Fl_Color fg, Fl_Color bg); #define FL_NUM_GRAY 24 inline Fl_Color fl_gray_ramp(int i) {return (Fl_Color)(i+FL_GRAY_RAMP);} @@ -347,5 +347,5 @@ enum Fl_Damage { #endif // -// End of "$Id: Enumerations.H,v 1.6 1998/12/22 18:26:10 mike Exp $". +// End of "$Id: Enumerations.H,v 1.7 1999/01/05 17:57:47 mike Exp $". // -- cgit v1.2.3