X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c2f12218ce9231e0d21a0d5516fcaa7df3e0a2a0..bc07ab17bf5370f452e899128bf89cc7ca7b98f0:/include/wx/animdecod.h diff --git a/include/wx/animdecod.h b/include/wx/animdecod.h index 4e89b4f9e9..bb8946ecee 100644 --- a/include/wx/animdecod.h +++ b/include/wx/animdecod.h @@ -12,7 +12,7 @@ #include "wx/defs.h" -#if wxUSE_STREAMS && wxUSE_GIF +#if wxUSE_STREAMS #include "wx/colour.h" #include "wx/gdicmn.h" @@ -112,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; } @@ -137,6 +140,6 @@ public: }; -#endif // wxUSE_STREAM && wxUSE_GIF +#endif // wxUSE_STREAM #endif // _WX_ANIMDECOD_H