diff options
| author | Michael R Sweet <michael.r.sweet@gmail.com> | 2002-06-28 21:04:37 +0000 |
|---|---|---|
| committer | Michael R Sweet <michael.r.sweet@gmail.com> | 2002-06-28 21:04:37 +0000 |
| commit | 6a6e4ab66c655d2d897c3382a03cd9754257cf01 (patch) | |
| tree | d63153819df5f6528f4a91afea23fe143563f135 /test/pixmap_browser.cxx | |
| parent | 96094e5617f0762538b12d5ba3cfead3d809b73c (diff) | |
Separate the extra image functions into fltk_images.
Add new fl_register_images() function to register the extra file formats
with Fl_Shared_Image.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2329 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'test/pixmap_browser.cxx')
| -rw-r--r-- | test/pixmap_browser.cxx | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/test/pixmap_browser.cxx b/test/pixmap_browser.cxx index 8bb023fbd..41f45cbdc 100644 --- a/test/pixmap_browser.cxx +++ b/test/pixmap_browser.cxx @@ -1,5 +1,5 @@ // -// "$Id: pixmap_browser.cxx,v 1.5.2.4.2.6 2002/06/13 18:18:33 easysw Exp $" +// "$Id: pixmap_browser.cxx,v 1.5.2.4.2.7 2002/06/28 21:04:37 easysw Exp $" // // A shared image test program for the Fast Light Tool Kit (FLTK). // @@ -83,6 +83,9 @@ int arg(int, char **argv, int &i) { int main(int argc, char **argv) { int i = 1; + + fl_register_images(); + Fl::args(argc,argv,i,arg); Fl_Window window(400,400); ::w = &window; @@ -98,5 +101,5 @@ int main(int argc, char **argv) { } // -// End of "$Id: pixmap_browser.cxx,v 1.5.2.4.2.6 2002/06/13 18:18:33 easysw Exp $". +// End of "$Id: pixmap_browser.cxx,v 1.5.2.4.2.7 2002/06/28 21:04:37 easysw Exp $". // |
