17 #ifndef Fl_Anim_Gif_Image_H
18 #define Fl_Anim_Gif_Image_H
23 #include <FL/Fl_GIF_Image.H>
93 Fl_Anim_GIF_Image(
const char *name_, Fl_Widget *canvas_ = 0,
unsigned short flags_ = 0);
104 void canvas(Fl_Widget *canvas_,
unsigned short flags_ = 0);
105 Fl_Widget *canvas()
const;
110 int canvas_w()
const;
115 int canvas_h()
const;
120 virtual void color_average(Fl_Color c_,
float i_);
126 virtual Fl_Image *copy(
int W_,
int H_);
132 virtual void desaturate();
133 virtual void draw(
int x_,
int y_,
int w_,
int h_,
int cx_ = 0,
int cy_ = 0);
137 double delay(
int frame_)
const;
141 void delay(
int frame_,
double delay_);
149 void frame(
int frame_);
158 Fl_Image *image()
const;
162 Fl_Image *image(
int frame_)
const;
167 bool is_animated()
const;
168 int frame_count(
const char *name_);
177 void frame_uncache(
bool uncache_);
181 bool frame_uncache()
const;
187 bool load(
const char *name_);
207 const char *name()
const;
227 void speed(
double speed_);
228 double speed()
const;
232 virtual void uncache();
244 int frame_x(
int frame_)
const;
245 int frame_y(
int frame_)
const;
251 int frame_w(
int frame_)
const;
252 int frame_h(
int frame_)
const;
256 void set_frame(
int frame_);
258 static void cb_animate(
void *d_);
262 unsigned short _flags;
271 #endif // Fl_Anim_Gif_Image_H
static double min_delay
Definition: Fl_Anim_GIF_Image.H:203
Flags
Definition: Fl_Anim_GIF_Image.H:46
static bool loop
Definition: Fl_Anim_GIF_Image.H:196
Definition: Fl_GIF_Image.H:31
Definition: Fl_Anim_GIF_Image.H:36