]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gifdecod.h
don't allocate backbuffer for dummy surfaces
[wxWidgets.git] / include / wx / gifdecod.h
index c46283825e6485817741ca50216531562c4a817e..cb9490e8922f6e6b3f1ee87526591b621484a048 100644 (file)
@@ -72,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 */
 
@@ -114,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;