diff options
| author | Michael R Sweet <michael.r.sweet@gmail.com> | 2003-05-21 16:58:13 +0000 |
|---|---|---|
| committer | Michael R Sweet <michael.r.sweet@gmail.com> | 2003-05-21 16:58:13 +0000 |
| commit | 6d964a1020b40e7086219fa17d9f8f3dffe9d3e0 (patch) | |
| tree | 64ccdc8d5e508111e9936f978b842e31ed08338d | |
| parent | 4d67a0a00ba2b845776e51794ce8051842375fbc (diff) | |
Use fl_darker() instead of fl_color_average()...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2995 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
| -rw-r--r-- | src/fl_symbols.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/fl_symbols.cxx b/src/fl_symbols.cxx index 2c2f3438b..e0d091e69 100644 --- a/src/fl_symbols.cxx +++ b/src/fl_symbols.cxx @@ -1,5 +1,5 @@ // -// "$Id: fl_symbols.cxx,v 1.8.2.3.2.6 2003/05/21 16:52:42 easysw Exp $" +// "$Id: fl_symbols.cxx,v 1.8.2.3.2.7 2003/05/21 16:58:13 easysw Exp $" // // Symbol drawing code for the Fast Light Tool Kit (FLTK). // @@ -159,7 +159,7 @@ int fl_draw_symbol(const char *label,int x,int y,int w,int h,Fl_Color col) { //for the outline color static void set_outline_color(Fl_Color c) { - fl_color(fl_color_average(c, Fl::draw_box_active() ? FL_BLACK : FL_GRAY, 0.5f)); + fl_color(fl_darker(c)); } static void rectangle(double x,double y,double x2,double y2,Fl_Color col) { @@ -361,5 +361,5 @@ static void fl_init_symbols(void) { } // -// End of "$Id: fl_symbols.cxx,v 1.8.2.3.2.6 2003/05/21 16:52:42 easysw Exp $". +// End of "$Id: fl_symbols.cxx,v 1.8.2.3.2.7 2003/05/21 16:58:13 easysw Exp $". // |
