diff options
| author | Michael R Sweet <michael.r.sweet@gmail.com> | 1998-12-02 16:04:03 +0000 |
|---|---|---|
| committer | Michael R Sweet <michael.r.sweet@gmail.com> | 1998-12-02 16:04:03 +0000 |
| commit | 892664ca26ebe8d03c2acd701124a9f8fcbdab5f (patch) | |
| tree | 65042b9b23746497b1d5bf1346cefad575d3099a /test | |
| parent | e467c3e8a93c4bd188c2f4efa4dabbb09e552b59 (diff) | |
WIN32 RGB color fixes from Vincent.
git-svn-id: file:///fltk/svn/fltk/trunk@115 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'test')
| -rw-r--r-- | test/checkers.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/test/checkers.cxx b/test/checkers.cxx index a35e3eb1f..3667cb045 100644 --- a/test/checkers.cxx +++ b/test/checkers.cxx @@ -1,5 +1,5 @@ // -// "$Id: checkers.cxx,v 1.5 1998/10/21 14:21:18 mike Exp $" +// "$Id: checkers.cxx,v 1.6 1998/12/02 16:04:03 mike Exp $" // // Checkers game for the Fast Light Tool Kit (FLTK). // @@ -921,10 +921,10 @@ void draw_piece(int which, int x, int y) { case WHITEKING: which = 3; break; default: return; } - fl_color(FL_BLACK); bm[which][0]->draw(x, y); - fl_color(FL_INACTIVE_COLOR); bm[which][1]->draw(x, y); - fl_color(FL_SELECTION_COLOR);bm[which][2]->draw(x, y); - fl_color(FL_WHITE); bm[which][3]->draw(x, y); + fl_color(0, 1, 0); bm[which][0]->draw(x, y); + fl_color(200, 100, 2000); bm[which][1]->draw(x, y); + fl_color(100, 100, 200);bm[which][2]->draw(x, y); + fl_color(200, 200, 100); bm[which][3]->draw(x, y); } //---------------------------------------------------------------- @@ -1366,5 +1366,5 @@ int main(int argc, char **argv) { } // -// End of "$Id: checkers.cxx,v 1.5 1998/10/21 14:21:18 mike Exp $". +// End of "$Id: checkers.cxx,v 1.6 1998/12/02 16:04:03 mike Exp $". // |
