diff options
| author | Michael R Sweet <michael.r.sweet@gmail.com> | 1999-01-05 17:57:49 +0000 |
|---|---|---|
| committer | Michael R Sweet <michael.r.sweet@gmail.com> | 1999-01-05 17:57:49 +0000 |
| commit | 41d027ebfb33de38c8761defe926f5f681489143 (patch) | |
| tree | ddb2db2f8d26d03314ae0e49ec521dafb11edd4c /FL | |
| parent | 131b567003e4f19b27b2dcc0797dec2ddb64ce16 (diff) | |
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
Diffstat (limited to 'FL')
| -rw-r--r-- | FL/Enumerations.H | 6 |
1 files changed, 3 insertions, 3 deletions
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 $". // |
