X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b39fe9514578dc76bd595e243e88e412be70bb61..86033c4b6f77916326ab7e04fb96b4e12ba5afbd:/wxPython/src/msw/animate.py diff --git a/wxPython/src/msw/animate.py b/wxPython/src/msw/animate.py index 3aaaab1319..19ed6f3c32 100644 --- a/wxPython/src/msw/animate.py +++ b/wxPython/src/msw/animate.py @@ -80,15 +80,15 @@ class AnimationBase(_core.Object): return _animate.AnimationBase_IsOk(*args, **kwargs) def GetDelay(*args, **kwargs): - """GetDelay(self, size_t i) -> int""" + """GetDelay(self, int i) -> int""" return _animate.AnimationBase_GetDelay(*args, **kwargs) def GetFrameCount(*args, **kwargs): - """GetFrameCount(self) -> size_t""" + """GetFrameCount(self) -> int""" return _animate.AnimationBase_GetFrameCount(*args, **kwargs) def GetFrame(*args, **kwargs): - """GetFrame(self, size_t i) -> Image""" + """GetFrame(self, int i) -> Image""" return _animate.AnimationBase_GetFrame(*args, **kwargs) def GetSize(*args, **kwargs): @@ -120,13 +120,21 @@ class Animation(AnimationBase): __swig_destroy__ = _animate.delete_Animation __del__ = lambda self : None; def GetFramePosition(*args, **kwargs): - """GetFramePosition(self, size_t frame) -> Point""" + """GetFramePosition(self, int frame) -> Point""" return _animate.Animation_GetFramePosition(*args, **kwargs) + def GetFrameSize(*args, **kwargs): + """GetFrameSize(self, int frame) -> Size""" + return _animate.Animation_GetFrameSize(*args, **kwargs) + def GetDisposalMethod(*args, **kwargs): - """GetDisposalMethod(self, size_t frame) -> int""" + """GetDisposalMethod(self, int frame) -> int""" return _animate.Animation_GetDisposalMethod(*args, **kwargs) + def GetTransparentColour(*args, **kwargs): + """GetTransparentColour(self, int frame) -> Colour""" + return _animate.Animation_GetTransparentColour(*args, **kwargs) + def GetBackgroundColour(*args, **kwargs): """GetBackgroundColour(self) -> Colour""" return _animate.Animation_GetBackgroundColour(*args, **kwargs) @@ -166,6 +174,15 @@ class AnimationCtrlBase(_core.Control): """IsPlaying(self) -> bool""" return _animate.AnimationCtrlBase_IsPlaying(*args, **kwargs) + def SetInactiveBitmap(*args, **kwargs): + """SetInactiveBitmap(self, Bitmap bmp)""" + return _animate.AnimationCtrlBase_SetInactiveBitmap(*args, **kwargs) + + def GetInactiveBitmap(*args, **kwargs): + """GetInactiveBitmap(self) -> Bitmap""" + return _animate.AnimationCtrlBase_GetInactiveBitmap(*args, **kwargs) + + InactiveBitmap = property(GetInactiveBitmap,SetInactiveBitmap) _animate.AnimationCtrlBase_swigregister(AnimationCtrlBase) NullAnimation = cvar.NullAnimation