mirror of
https://github.com/fltk/fltk.git
synced 2026-05-31 22:04:26 +08:00
- add error and EOF checks - fix transparent pixel index outside ColorMap (#271) - fix Fl_GIF_Image decoder bug (#274) - add Fl_Image_Reader::skip(unsigned int) - use new skip() method in GIF reader
This commit is contained in:
+2
-2
@@ -1,7 +1,7 @@
|
||||
//
|
||||
// GIF image header file for the Fast Light Tool Kit (FLTK).
|
||||
//
|
||||
// Copyright 1998-2020 by Bill Spitzak and others.
|
||||
// Copyright 1998-2021 by Bill Spitzak and others.
|
||||
//
|
||||
// This library is free software. Distribution and use rights are outlined in
|
||||
// the file "COPYING" which should have been included with this file. If this
|
||||
@@ -31,7 +31,7 @@ class FL_EXPORT Fl_GIF_Image : public Fl_Pixmap {
|
||||
public:
|
||||
|
||||
Fl_GIF_Image(const char* filename);
|
||||
Fl_GIF_Image(const char* imagename, const unsigned char *data);
|
||||
Fl_GIF_Image(const char* imagename, const unsigned char *data, const long length = -1);
|
||||
|
||||
protected:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user