• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/wxWidgets-2.8.12/docs/latex/wx/

Lines Matching refs:to

17 wxMediaCtrl uses native backends to render media, for example on Windows
45 For general operation, all you need to do is call
46 \helpref{wxMediaCtrl::Load}{wxmediactrlload} to load the file
47 you want to render, catch the EVT\_MEDIA\_LOADED event,
49 to show the video/audio of the media in that event.
62 event to its parent window, at which point the event handler
63 can choose to veto the event, preventing the stream from actually
68 //connect to the media event
90 is gauranteed to start at the beginning of the media. This is
92 on them they return to the beginning, thus wxMediaCtrl tries
93 to keep consistant for all types of media.
98 media being in certain state catch the event relevant to the state.
105 By default, wxMediaCtrl will scale the size of the video to the
106 requested amount passed to either it's constructor or Create().
112 specified due to the extra controls provided by the native toolkit.
113 In addition, the backend may modify GetBestSize() to include the
117 The idea with setting GetBestSize to the size of the video is
126 Normally, when you use wxMediaCtrl it is just a window for the video to
129 A special feature available to wxMediaCtrl, you can use the toolkit's interface instead of
134 wxMediaCtrl decide what native controls on the interface. Be sure to review
141 Generally, you should almost certainly leave this part up to
144 to do to choose a specific backend is to pass the
145 name of the backend class to
164 gst-play modules of gstreamer to function. You need the correct
165 modules to play the relavant files, for example the mad module
166 to play mp3s, etc.}
181 in wxMediaBackend correspond to those in wxMediaCtrl except for CreateControl
185 You need to make sure to use the DECLARE\_CLASS and IMPLEMENT\_CLASS macros.
187 The only real tricky part is that you need to make sure the file in compiled
189 to use a force link hack (see http://www.wxwidgets.org/wiki/index.php/RTTI).
191 This is a rather simple example of how to create a backend in the
213 Constructor that calls \helpref{Create}{wxmediactrlcreate}. You may prefer to call \helpref{Create}{wxmediactrlcreate} directly to check to see if wxMediaCtrl is available on the system.
216 \docparam{id}{id to use for events}
217 \docparam{fileName}{If not empty, the path of a file to open.}
218 \docparam{pos}{Position to put control at.}
219 \docparam{size}{Size to put the control at and to stretch movie to.}
221 \docparam{szBackend}{Name of backend you want to use, leave blank to make
223 \docparam{validator}{validator to use.}
243 If you specify a file to open via \tt{fileName} and you don't specify a backend to use, wxMediaCtrl tries each of its backends until one that can render the path referred to by \tt{fileName} can be found.
246 \docparam{id}{id to use for events}
247 \docparam{fileName}{If not empty, the path of a file to open.}
248 \docparam{pos}{Position to put control at.}
249 \docparam{size}{Size to put the control at and to stretch movie to.}
251 \docparam{szBackend}{Name of backend you want to use, leave blank to make
253 \docparam{validator}{validator to use.}
261 Obtains the best size relative to the original/natural size of the
280 Gets the volume of the media from a 0.0 to 1.0 range. Note that due to rounding
281 and other errors this may not be the exact value sent to SetVolume.
309 Loads the file that \tt{fileName} refers to. Returns false if loading fails.
316 Loads the location that \tt{uri} refers to. Note that this is very implementation-dependant, although HTTP URI/URLs are generally supported, for example. Returns false if loading fails.
323 Loads the location that \tt{uri} refers to with the proxy \tt{proxy}. Not implemented on most backends so it should be called with caution. Returns false if loading fails.
358 Seeks to a position within the movie.
365 Sets the playback rate, or speed of the media, to that referred by \tt{dRate}.
375 Sets the volume of the media from a 0.0 to 1.0 range to that referred
378 exact due to conversion and rounding errors, although setting the volume to
386 A special feature to wxMediaCtrl. Applications using native toolkits such as
387 QuickTime usually have a scrollbar, play button, and more provided to
391 calling the function with default parameters tells wxMediaCtrl to use the
397 \twocolitem{{\bf wxMEDIACTRLPLAYERCONTROLS\_NONE}}{No controls. return wxMediaCtrl to it's default state.}