Doc corrections
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44524 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -11,7 +11,7 @@
|
|||||||
|
|
||||||
\section{\class{wxMediaCtrl}}\label{wxmediactrl}
|
\section{\class{wxMediaCtrl}}\label{wxmediactrl}
|
||||||
|
|
||||||
wxMediaCtrl is a class that allows a way to convieniently display types of
|
wxMediaCtrl is a class for displaying types of
|
||||||
media, such as videos, audio files, natively through native codecs.
|
media, such as videos, audio files, natively through native codecs.
|
||||||
|
|
||||||
wxMediaCtrl uses native backends to render media, for example on Windows
|
wxMediaCtrl uses native backends to render media, for example on Windows
|
||||||
|
@@ -25,24 +25,24 @@ Event \helpref{wxMediaCtrl}{wxmediactrl} uses.
|
|||||||
|
|
||||||
\twocolwidtha{7cm}
|
\twocolwidtha{7cm}
|
||||||
\begin{twocollist}\itemsep=0pt
|
\begin{twocollist}\itemsep=0pt
|
||||||
\twocolitem{{\bf EVT\_MEDIA\_LOADED(func)}}{
|
\twocolitem{{\bf EVT\_MEDIA\_LOADED(id, func)}}{
|
||||||
Sent when a media has loaded enough data that it can start playing.}
|
Sent when a media has loaded enough data that it can start playing.}
|
||||||
\twocolitem{{\bf EVT\_MEDIA\_STOP(func)}}{
|
\twocolitem{{\bf EVT\_MEDIA\_STOP(id, func)}}{
|
||||||
Send when a media has switched to the wxMEDIASTATE\_STOPPED state.
|
Send when a media has switched to the wxMEDIASTATE\_STOPPED state.
|
||||||
You may be able to Veto this event to prevent it from stopping,
|
You may be able to Veto this event to prevent it from stopping,
|
||||||
causing it to continue playing - even if it has reached that end of the media
|
causing it to continue playing - even if it has reached that end of the media
|
||||||
(note that this may not have the desired effect - if you want to loop the
|
(note that this may not have the desired effect - if you want to loop the
|
||||||
media, for example, catch the EVT\_MEDIA\_FINISHED and play there instead). }
|
media, for example, catch the EVT\_MEDIA\_FINISHED and play there instead). }
|
||||||
\twocolitem{{\bf EVT\_MEDIA\_FINISHED(func)}}{
|
\twocolitem{{\bf EVT\_MEDIA\_FINISHED(id, func)}}{
|
||||||
Sent when a media has finished playing in a \helpref{wxMediaCtrl}{wxmediactrl}.
|
Sent when a media has finished playing in a \helpref{wxMediaCtrl}{wxmediactrl}.
|
||||||
}
|
}
|
||||||
\twocolitem{{\bf EVT\_MEDIA\_STATECHANGED(func)}}{
|
\twocolitem{{\bf EVT\_MEDIA\_STATECHANGED(id, func)}}{
|
||||||
Send when a media has switched its state (from any media state).
|
Send when a media has switched its state (from any media state).
|
||||||
}
|
}
|
||||||
\twocolitem{{\bf EVT\_MEDIA\_PLAY(func)}}{
|
\twocolitem{{\bf EVT\_MEDIA\_PLAY(id, func)}}{
|
||||||
Send when a media has switched to the wxMEDIASTATE\_PLAYING state.
|
Send when a media has switched to the wxMEDIASTATE\_PLAYING state.
|
||||||
}
|
}
|
||||||
\twocolitem{{\bf EVT\_MEDIA\_PAUSE(func)}}{
|
\twocolitem{{\bf EVT\_MEDIA\_PAUSE(id, func)}}{
|
||||||
Send when a media has switched to the wxMEDIASTATE\_PAUSED state.
|
Send when a media has switched to the wxMEDIASTATE\_PAUSED state.
|
||||||
}
|
}
|
||||||
\end{twocollist}
|
\end{twocollist}
|
||||||
|
Reference in New Issue
Block a user