- size_t GetFrameCount() const;
- int GetDelay(size_t i) const;
- wxImage GetFrame(size_t i) const;
- wxSize GetSize() const;
-
- bool LoadFile(const wxString& filename, wxAnimationType type = wxANIMATION_TYPE_ANY);
- bool Load(wxInputStream &stream, wxAnimationType type = wxANIMATION_TYPE_ANY);
-
-public: // extended interface used by the generic implementation of wxAnimationCtrl
-
- wxPoint GetFramePosition(size_t frame) const;
- wxAnimationDisposal GetDisposalMethod(size_t frame) const;
+ virtual unsigned int GetFrameCount() const;
+ virtual int GetDelay(unsigned int i) const;
+ virtual wxImage GetFrame(unsigned int i) const;
+ virtual wxSize GetSize() const;
+
+ virtual bool LoadFile(const wxString& filename,
+ wxAnimationType type = wxANIMATION_TYPE_ANY);
+ virtual bool Load(wxInputStream& stream,
+ wxAnimationType type = wxANIMATION_TYPE_ANY);
+
+ // extended interface used by the generic implementation of wxAnimationCtrl
+ wxPoint GetFramePosition(unsigned int frame) const;
+ wxSize GetFrameSize(unsigned int frame) const;
+ wxAnimationDisposal GetDisposalMethod(unsigned int frame) const;
+ wxColour GetTransparentColour(unsigned int frame) const;