X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d72f7a9d566740444f40f023292c02d806513dbd..58cc15871d1a5ec5a6cc17f50be3e2006f57571f:/interface/wx/animate.h diff --git a/interface/wx/animate.h b/interface/wx/animate.h index 967055b7bf..19716e2c99 100644 --- a/interface/wx/animate.h +++ b/interface/wx/animate.h @@ -3,7 +3,7 @@ // Purpose: interface of wxAnimation* classes // Author: wxWidgets team // RCS-ID: $Id$ -// Licence: wxWindows license +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// /** @@ -70,7 +70,7 @@ public: /** Creates the control with the given @a anim animation. - After control creation you must explicitely call Play() to start to play + After control creation you must explicitly call Play() to start to play the animation. Until that function won't be called, the first frame of the animation is displayed. @@ -181,6 +181,12 @@ public: An animation is a sequence of frames of the same size. Sound is not supported by wxAnimation. + Note that on wxGTK wxAnimation is capable of loading the formats supported + by the internally-used @c gdk-pixbuf library (typically this means only + @c wxANIMATION_TYPE_GIF). + On other platforms wxAnimation is always capable of loading both GIF and ANI + formats (i.e. both @c wxANIMATION_TYPE_GIF and @c wxANIMATION_TYPE_ANI). + @library{wxadv} @category{gdi} @@ -222,11 +228,17 @@ public: /** Returns the i-th frame as a wxImage. + + This method is not implemented in the native wxGTK implementation of + this class and always returns an invalid image there. */ virtual wxImage GetFrame(unsigned int i) const; /** Returns the number of frames for this animation. + + This method is not implemented in the native wxGTK implementation of + this class and always returns 0 there. */ virtual unsigned int GetFrameCount() const;