From ce68c7386cf90ef28e7cc88a2a2449620f5703a4 Mon Sep 17 00:00:00 2001 From: Bill Spitzak Date: Fri, 14 May 1999 09:07:09 +0000 Subject: Colors in cmap changed to use 0xFF instead of 0xF4. Drawing of scrollbars altered somewhat so that the box (if any) goes around the buttons, this seems to match the design that other toolkits use. Hope everybody likes this... This required internal changes to the Fl_Slider and Fl_Value_Slider as well but they should draw exactly the same. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@587 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/cmap.cxx | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'src/cmap.cxx') diff --git a/src/cmap.cxx b/src/cmap.cxx index aebca3418..2a11184db 100644 --- a/src/cmap.cxx +++ b/src/cmap.cxx @@ -1,5 +1,5 @@ // -// "$Id: cmap.cxx,v 1.4 1999/01/07 19:17:33 mike Exp $" +// "$Id: cmap.cxx,v 1.4.2.1 1999/05/14 09:07:08 bill Exp $" // // Colormap generation program for the Fast Light Tool Kit (FLTK). // @@ -36,7 +36,10 @@ // fltk programs more friendly on color-adjusted screens. If you want // pure colors you should get them out of the colormap. -#define III 244 // maximum intensity of the basic colors +//#define III 244 // maximum intensity of the basic colors + +// that results in errors and unshared colormap entries, so full intensity: +#define III 255 // maximum intensity of the basic colors static short cmap[256][3] = { // 3-bit colormap: @@ -145,5 +148,5 @@ int main() { } // -// End of "$Id: cmap.cxx,v 1.4 1999/01/07 19:17:33 mike Exp $". +// End of "$Id: cmap.cxx,v 1.4.2.1 1999/05/14 09:07:08 bill Exp $". // -- cgit v1.2.3