a couple new generic methods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41958 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -113,12 +113,16 @@ public: // extended interface used by the generic implementation of wxAnimat
|
|||||||
|
|
||||||
#ifndef __WXGTK__
|
#ifndef __WXGTK__
|
||||||
wxPoint GetFramePosition(size_t frame) const;
|
wxPoint GetFramePosition(size_t frame) const;
|
||||||
|
wxSize GetFrameSize(size_t frame) const;
|
||||||
wxAnimationDisposal GetDisposalMethod(size_t frame) const;
|
wxAnimationDisposal GetDisposalMethod(size_t frame) const;
|
||||||
|
wxColour GetTransparentColour(size_t frame) const;
|
||||||
wxColour GetBackgroundColour() const;
|
wxColour GetBackgroundColour() const;
|
||||||
#else
|
#else
|
||||||
%extend {
|
%extend {
|
||||||
wxPoint GetFramePosition(size_t frame) const { return wxDefaultPosition; }
|
wxPoint GetFramePosition(size_t frame) const { return wxDefaultPosition; }
|
||||||
|
wxSize GetFrameSize(size_t frame) const { return wxDefaultSize; }
|
||||||
wxAnimationDisposal GetDisposalMethod(size_t frame) const { return wxANIM_UNSPECIFIED; }
|
wxAnimationDisposal GetDisposalMethod(size_t frame) const { return wxANIM_UNSPECIFIED; }
|
||||||
|
wxColour GetTransparentColour(size_t frame) const { return wxNullColour; }
|
||||||
wxColour GetBackgroundColour() const { return wxNullColour; }
|
wxColour GetBackgroundColour() const { return wxNullColour; }
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user