X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/70fc30ae82d974d2e6710583cc1d34b98c4b3c5f..5e6ce06a0d6c2a21ede24343fb9541f4101af582:/docs/latex/wx/animatctrl.tex diff --git a/docs/latex/wx/animatctrl.tex b/docs/latex/wx/animatctrl.tex index 7d0148a155..7a4dbf488b 100644 --- a/docs/latex/wx/animatctrl.tex +++ b/docs/latex/wx/animatctrl.tex @@ -30,11 +30,15 @@ It is only available if \texttt{wxUSE\_ANIMATIONCTRL} is set to $1$ (the default +\wxheading{Library} + +\helpref{wxAdv}{librarieslist} + \wxheading{Window styles} \twocolwidtha{5cm}% \begin{twocollist}\itemsep=0pt -\twocolitem{\windowstyle{wxAC\_DEFAULT\_STYLE}}{The default style: wxNO\_BORDER.} +\twocolitem{\windowstyle{wxAC\_DEFAULT\_STYLE}}{The default style: wxBORDER\_NONE.} \twocolitem{\windowstyle{wxAC\_NO\_AUTORESIZE}}{By default, the control will adjust its size to exactly fit to the size of the animation when \helpref{SetAnimation}{wxanimationctrlsetanimation} is called. If this style flag is given, the control will not change its size} @@ -54,7 +58,7 @@ is called. If this style flag is given, the control will not change its size} \latexignore{\rtfignore{\wxheading{Members}}} -\membersection{wxAnimationCtrl::wxAnimationCtrl}\label{wxanimationctrl} +\membersection{wxAnimationCtrl::wxAnimationCtrl}\label{wxanimationctrlctor} \func{}{wxAnimationCtrl}{\param{wxWindow *}{parent},\rtfsp \param{wxWindowID}{ id},\rtfsp @@ -78,6 +82,10 @@ all the parameters. \param{long}{ style = wxAC\_DEFAULT\_STYLE},\rtfsp \param{const wxString\& }{name = ``animationctrl"}} +After control creation you must explicitely call \helpref{Play}{wxanimationctrlplay} +to start to play the animation. Until that function won't be called, the first frame +of the animation is displayed. + \wxheading{Parameters} \docparam{parent}{Parent window, must be non-\NULL.} @@ -94,9 +102,6 @@ all the parameters. \docparam{name}{Control name.} -After control creation you must explicitely call \helpref{Play}{wxanimationctrlplay} -to start to play the animation. Until that function won't be called, the first frame -of the animation is displayed. \wxheading{Return value} @@ -170,6 +175,10 @@ If the control is not playing the animation, the given bitmap will be immediatel shown, otherwise it will be shown as soon as \helpref{Stop}{wxanimationctrlstop} is called. +Note that the inactive bitmap, if smaller than the control's size, will be centered in +the control; if bigger, it will be stretched to fit it. + + \membersection{wxAnimationCtrl::Stop}\label{wxanimationctrlstop} \func{void}{Stop}{\void}