]> git.saurik.com Git - wxWidgets.git/commitdiff
a couple new generic methods
authorRobin Dunn <robin@alldunn.com>
Wed, 11 Oct 2006 23:49:59 +0000 (23:49 +0000)
committerRobin Dunn <robin@alldunn.com>
Wed, 11 Oct 2006 23:49:59 +0000 (23:49 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41958 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

wxPython/src/animate.i

index 94149e1cacf70b2aa8985b5585e17de9cbc9e5d5..8a2d294bdcbb294baf31017d8f4403092696d5af 100644 (file)
@@ -113,12 +113,16 @@ public:     // extended interface used by the generic implementation of wxAnimat
 
 #ifndef __WXGTK__
     wxPoint GetFramePosition(size_t frame) const;
 
 #ifndef __WXGTK__
     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;
 #else
     %extend {
         wxPoint GetFramePosition(size_t frame) const { return wxDefaultPosition; }
     wxColour GetBackgroundColour() const;
 #else
     %extend {
         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; }
     }
 #endif
         wxColour GetBackgroundColour() const { return wxNullColour; }
     }
 #endif