Browse Source

Tweek plastic background image for softer background (similar to OSX 10.3)

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3426 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
pull/168/head
Michael R Sweet 21 years ago
parent
commit
7b4c016ef9
  1. 8
      src/Fl_get_system_colors.cxx

8
src/Fl_get_system_colors.cxx

@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
//
// "$Id: Fl_get_system_colors.cxx,v 1.6.2.7.2.25 2004/04/11 04:38:59 easysw Exp $"
// "$Id: Fl_get_system_colors.cxx,v 1.6.2.7.2.26 2004/05/25 21:06:19 easysw Exp $"
//
// System color support for the Fast Light Tool Kit (FLTK).
//
@ -263,7 +263,9 @@ int Fl::reload_scheme() { @@ -263,7 +263,9 @@ int Fl::reload_scheme() {
uchar r, g, b;
int nr, ng, nb;
int i;
static uchar levels[3] = { 0xff, 0xef, 0xe8 };
// static uchar levels[3] = { 0xff, 0xef, 0xe8 };
// OSX 10.3 and higher use a background with less contrast...
static uchar levels[3] = { 0xff, 0xf8, 0xf4 };
get_color(FL_GRAY, r, g, b);
@ -332,5 +334,5 @@ int Fl::reload_scheme() { @@ -332,5 +334,5 @@ int Fl::reload_scheme() {
//
// End of "$Id: Fl_get_system_colors.cxx,v 1.6.2.7.2.25 2004/04/11 04:38:59 easysw Exp $".
// End of "$Id: Fl_get_system_colors.cxx,v 1.6.2.7.2.26 2004/05/25 21:06:19 easysw Exp $".
//

Loading…
Cancel
Save