Fl_Anim_GIF_Image
 All Classes Functions Variables Enumerations Enumerator
Fl_GIF_Image Class Reference

#include <Fl_GIF_Image.H>

Inheritance diagram for Fl_GIF_Image:
Fl_Anim_GIF_Image

Public Member Functions

 Fl_GIF_Image (const char *filename)
 

Static Public Member Functions

static bool is_animated (const char *name_)
 

Static Public Attributes

static bool animate = false
 

Detailed Description

The Fl_GIF_Image class supports loading, caching, and drawing of Compuserve GIFSM images. The class loads the first image and supports transparency.

Constructor & Destructor Documentation

Fl_GIF_Image::Fl_GIF_Image ( const char *  infname)

The constructor loads the named GIF image.

The destructor frees all memory and server resources that are used by the image.

Use Fl_Image::fail() to check if Fl_GIF_Image failed to load. fail() returns ERR_FILE_ACCESS if the file could not be opened or read, ERR_FORMAT if the GIF format could not be decoded, and ERR_NO_IMAGE if the image could not be loaded for another reason.


The documentation for this class was generated from the following files: