#include "wx/defs.h"
-#if wxUSE_STREAMS && wxUSE_GIF
+#if wxUSE_STREAMS
-#include "wx/stream.h"
-#include "wx/image.h"
+#include "wx/colour.h"
+#include "wx/gdicmn.h"
+
+class WXDLLIMPEXP_BASE wxInputStream;
+class WXDLLIMPEXP_CORE wxImage;
/*
// if returns -1 then the frame must be displayed forever.
virtual long GetDelay(size_t frame) const = 0;
+ // the transparent colour for this frame if any or wxNullColour.
+ virtual wxColour GetTransparentColour(size_t frame) const = 0;
+
// get global data
wxSize GetAnimationSize() const { return m_szAnimation; }
wxColour GetBackgroundColour() const { return m_background; }
};
-#endif // wxUSE_STREAM && wxUSE_GIF
+#endif // wxUSE_STREAM
#endif // _WX_ANIMDECOD_H