diff options
| author | Michael R Sweet <michael.r.sweet@gmail.com> | 2001-08-05 23:58:54 +0000 |
|---|---|---|
| committer | Michael R Sweet <michael.r.sweet@gmail.com> | 2001-08-05 23:58:54 +0000 |
| commit | 7ebaf77cdcbcadb4706c87f1662730a4687caf20 (patch) | |
| tree | 07340f24b863b23f716b9cf9f657026c76c62fbf /test/color_chooser.cxx | |
| parent | 208cf399a6ab801951bf28a82a0e07adefc60028 (diff) | |
Image labels!
image() method to set active image, deimage() method to set inactive image.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1560 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'test/color_chooser.cxx')
| -rw-r--r-- | test/color_chooser.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/color_chooser.cxx b/test/color_chooser.cxx index c96130ced..6178ec745 100644 --- a/test/color_chooser.cxx +++ b/test/color_chooser.cxx @@ -1,5 +1,5 @@ // -// "$Id: color_chooser.cxx,v 1.6.2.3 2001/01/22 15:13:41 easysw Exp $" +// "$Id: color_chooser.cxx,v 1.6.2.3.2.1 2001/08/05 23:58:54 easysw Exp $" // // Color chooser test program for the Fast Light Tool Kit (FLTK). // @@ -105,7 +105,7 @@ int main(int argc, char ** argv) { b2.callback(cb2,&box); Fl_Box image_box(140,200,120,120,0); make_image(); - (new Fl_Image(image, width, height))->label(&image_box); + (new Fl_RGB_Image(image, width, height))->label(&image_box); Fl_Box b(140,320,120,0,"Example of fl_draw_image()"); Pens p(80,200,3*8,120,"lines"); p.align(FL_ALIGN_TOP); @@ -146,5 +146,5 @@ int main(int argc, char ** argv) { } // -// End of "$Id: color_chooser.cxx,v 1.6.2.3 2001/01/22 15:13:41 easysw Exp $". +// End of "$Id: color_chooser.cxx,v 1.6.2.3.2.1 2001/08/05 23:58:54 easysw Exp $". // |
