X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5d3e7b52d84580c28df8f754b81363502f917ac7..e48a3055145e5d3f77b17383ed7521585ea7391d:/include/wx/gifdecod.h?ds=sidebyside diff --git a/include/wx/gifdecod.h b/include/wx/gifdecod.h index 3545fc288f..cb9490e892 100644 --- a/include/wx/gifdecod.h +++ b/include/wx/gifdecod.h @@ -11,11 +11,7 @@ #ifndef _WX_GIFDECOD_H #define _WX_GIFDECOD_H -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) -#pragma interface "gifdecod.h" -#endif - -#include "wx/setup.h" +#include "wx/defs.h" #if wxUSE_STREAMS && wxUSE_GIF @@ -76,6 +72,7 @@ public: long delay; /* delay in ms (-1 = unused) */ unsigned char *p; /* bitmap */ unsigned char *pal; /* palette */ + unsigned int ncolours; /* number of colours */ GIFImage *next; /* next image */ GIFImage *prev; /* prev image */ @@ -118,6 +115,7 @@ public: int GetFrameIndex() const; unsigned char* GetData() const; unsigned char* GetPalette() const; + unsigned int GetNcolours() const; unsigned int GetWidth() const; unsigned int GetHeight() const; unsigned int GetLeft() const;