summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorBill Spitzak <spitzak@gmail.com>2001-05-05 23:39:01 +0000
committerBill Spitzak <spitzak@gmail.com>2001-05-05 23:39:01 +0000
commit38c947bd093c0edb1eb746911150574fa4a0fb2f (patch)
treec922543815eeb098268eec8d1b418530950b80dc /test
parent325c0838f4e816f1129a29949b9054f32dba8fe0 (diff)
Compiling with -DBOXX_BUGS will work around some problems with the newest
X drivers that BoXX delivers, the problems all affect use of Overlays for normal X drawing and OpenGL drawing. Normal compilation is unchanged. The file chooser buttons use user_data() rather than the label to decide what to do, allowing the label to be somewhat cleaner. Selection color on X changed to blue, to match what happens on Windows now. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1452 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'test')
-rw-r--r--test/input.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/input.cxx b/test/input.cxx
index 56cc52d30..db65bfba5 100644
--- a/test/input.cxx
+++ b/test/input.cxx
@@ -1,5 +1,5 @@
//
-// "$Id: input.cxx,v 1.5.2.3 2001/01/22 15:13:41 easysw Exp $"
+// "$Id: input.cxx,v 1.5.2.4 2001/05/05 23:39:01 spitzak Exp $"
//
// Input field test program for the Fast Light Tool Kit (FLTK).
//
@@ -107,6 +107,7 @@ int main(int argc, char **argv) {
b->color(input[0]->color()); b->callback(color_cb, (void*)0);
b = new Fl_Button(220,y1,100,25,"selection_color"); y1 += 25;
b->color(input[0]->selection_color()); b->callback(color_cb, (void*)1);
+ b->labelcolor(contrast(FL_BLACK,b->color()));
b = new Fl_Button(220,y1,100,25,"textcolor"); y1 += 25;
b->color(input[0]->textcolor()); b->callback(color_cb, (void*)2);
b->labelcolor(contrast(FL_BLACK,b->color()));
@@ -117,5 +118,5 @@ int main(int argc, char **argv) {
}
//
-// End of "$Id: input.cxx,v 1.5.2.3 2001/01/22 15:13:41 easysw Exp $".
+// End of "$Id: input.cxx,v 1.5.2.4 2001/05/05 23:39:01 spitzak Exp $".
//