FLTK
Fl_GIF_Image.H
1 //
2 // GIF image header file for the Fast Light Tool Kit (FLTK).
3 //
4 // Copyright 1998-2020 by Bill Spitzak and others.
5 //
6 // This library is free software. Distribution and use rights are outlined in
7 // the file "COPYING" which should have been included with this file. If this
8 // file is missing or damaged, see the license at:
9 //
10 // https://www.fltk.org/COPYING.php
11 //
12 // Please see the following page on how to report bugs and issues:
13 //
14 // https://www.fltk.org/bugs.php
15 //
16 
17 /* \file
18  Fl_GIF_Image widget . */
19 
20 #ifndef Fl_GIF_Image_H
21 #define Fl_GIF_Image_H
22 # include "Fl_Pixmap.H"
23 
29 class FL_EXPORT Fl_GIF_Image : public Fl_Pixmap {
30 
31 public:
32 
33  Fl_GIF_Image(const char* filename);
34  Fl_GIF_Image(const char* imagename, const unsigned char *data);
35 
36 protected:
37 
38  void load_gif_(class Fl_Image_Reader &rdr);
39 
40 };
41 
42 #endif
The Fl_Pixmap class supports caching and drawing of colormap (pixmap) images, including transparency...
Definition: Fl_Pixmap.H:36
The Fl_GIF_Image class supports loading, caching, and drawing of Compuserve GIFSM images...
Definition: Fl_GIF_Image.H:29
Definition: Fl_Image_Reader.h:32