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 /FL/Fl_Shared_Image.H | |
| 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 'FL/Fl_Shared_Image.H')
| -rw-r--r-- | FL/Fl_Shared_Image.H | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/FL/Fl_Shared_Image.H b/FL/Fl_Shared_Image.H index f2a0832c9..1a23276bb 100644 --- a/FL/Fl_Shared_Image.H +++ b/FL/Fl_Shared_Image.H @@ -1,5 +1,5 @@ // -// "$Id: Fl_Shared_Image.H,v 1.22.2.4 2002/05/25 13:38:24 easysw Exp $" +// "$Id: Fl_Shared_Image.H,v 1.22.2.5 2002/06/28 21:04:35 easysw Exp $" // // Shared image header file for the Fast Light Tool Kit (FLTK). // @@ -34,7 +34,7 @@ typedef Fl_Image *(*Fl_Shared_Handler)(const char *name, uchar *header, int headerlen); // Shared images class. -class Fl_Shared_Image : public Fl_Image { +class FL_EXPORT Fl_Shared_Image : public Fl_Image { protected: static Fl_Shared_Image **images_; // Shared images @@ -81,8 +81,16 @@ class Fl_Shared_Image : public Fl_Image { static void remove_handler(Fl_Shared_Handler f); }; +// +// The following function is provided in the fltk_images library and +// registers all of the "extra" image file formats that are not part +// of the core FLTK library... +// + +FL_EXPORT void fl_register_images(); + #endif // !Fl_Shared_Image_H // -// End of "$Id: Fl_Shared_Image.H,v 1.22.2.4 2002/05/25 13:38:24 easysw Exp $" +// End of "$Id: Fl_Shared_Image.H,v 1.22.2.5 2002/06/28 21:04:35 easysw Exp $" // |
