X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5f8047a69b6396744c726ae52a388d898eab27d9..82972e922e61d323e65370236b18bd042ac8e3ef:/include/wx/animate.h?ds=inline diff --git a/include/wx/animate.h b/include/wx/animate.h index 1e0d6fc039..583b1afc74 100644 --- a/include/wx/animate.h +++ b/include/wx/animate.h @@ -19,6 +19,7 @@ #include "wx/animdecod.h" #include "wx/control.h" #include "wx/timer.h" +#include "wx/bitmap.h" class WXDLLIMPEXP_ADV wxAnimation; @@ -64,7 +65,6 @@ protected: // auto-resizes by default to fit the new animation when SetAnimation() is called #define wxAC_DEFAULT_STYLE (wxNO_BORDER) - class WXDLLIMPEXP_ADV wxAnimationCtrlBase : public wxControl { public: @@ -82,6 +82,13 @@ public: // public API virtual bool IsPlaying() const = 0; + virtual void SetInactiveBitmap(const wxBitmap &bmp); + wxBitmap GetInactiveBitmap() const + { return m_bmpStatic; } + +protected: + wxBitmap m_bmpStatic; + private: DECLARE_ABSTRACT_CLASS(wxAnimationCtrlBase) };