X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/72045d5768a126191a907bc640c28e81a11afdd6..a4e73390a604cb78d41eacf3e97de48c36aaf8d7:/include/wx/animdecod.h diff --git a/include/wx/animdecod.h b/include/wx/animdecod.h index 2c65126e75..bb8946ecee 100644 --- a/include/wx/animdecod.h +++ b/include/wx/animdecod.h @@ -12,10 +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; /* @@ -109,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; } @@ -134,6 +140,6 @@ public: }; -#endif // wxUSE_STREAM && wxUSE_GIF +#endif // wxUSE_STREAM #endif // _WX_ANIMDECOD_H