X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ff1dadae388b2f408874b80251d64d16d9d46280..a978c7d258feaecc048d03e9557f64269a3378ed:/include/wx/animdecod.h diff --git a/include/wx/animdecod.h b/include/wx/animdecod.h index eeae13b1cc..bb8946ecee 100644 --- a/include/wx/animdecod.h +++ b/include/wx/animdecod.h @@ -12,11 +12,13 @@ #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; /* @@ -110,6 +112,9 @@ public: // frame specific data getters // 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; } @@ -135,6 +140,6 @@ public: }; -#endif // wxUSE_STREAM && wxUSE_GIF +#endif // wxUSE_STREAM #endif // _WX_ANIMDECOD_H