summaryrefslogtreecommitdiff
path: root/src/cmap.cxx
diff options
context:
space:
mode:
authorBill Spitzak <spitzak@gmail.com>1999-05-14 09:07:09 +0000
committerBill Spitzak <spitzak@gmail.com>1999-05-14 09:07:09 +0000
commitce68c7386cf90ef28e7cc88a2a2449620f5703a4 (patch)
tree9e403c349001e07382365affc7aaaecdeca888ce /src/cmap.cxx
parent4e66f937698fd0792c17db2085d99ee5985c81ff (diff)
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
Diffstat (limited to 'src/cmap.cxx')
-rw-r--r--src/cmap.cxx9
1 files changed, 6 insertions, 3 deletions
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 $".
//