VkMoviePlayer(3x) VkMoviePlayer(3x)
VkMoviePlayer - A multimedia Player component that plays a movie
VkComponent : VkCallbackObject
#include <Vk/VkMoviePlayer.h>
-lmovieGL -laudio -lcl -ldmedia -lGL -lGLw -lGLU
PUBLIC PROTOCOL SUMMARY
Constructor/Destructor
VkMoviePlayer(const char *name,
Widget parent,
char *movieFileName);
virtual void ~VkMoviePlayer(void);
Turn Off Sound
void setMute(Boolean bMuteOn);
Set and Retrieve File Name [Toc] [Back]
char* movieFileName() const;
q void setMovieFileName(const char *);
Controlling playback [Toc] [Back]
virtual void play();
virtual void play(Boolean);
virtual void stop();
virtual void rewind();
This class displays a movie, and supports simple operations such as
playing, stopping, rewinding. The default size of the Player is
determined by the size of the specified movie. The movie file must
be in SGI Movie format.
FUNCTION DESCRIPTIONS [Toc] [Back] VkMoviePlayer()
VkMoviePlayer(const char *name, Widget parent, char *movieFileName= NULL);
Initialize a VkMoviePlayer. "movieFileName" specifies a valid movie
file.
Page 1
VkMoviePlayer(3x) VkMoviePlayer(3x)
~VkMoviePlayer()
virtual void ~VkMoviePlayer(void);
Free any memory allocated by a VkMoviePlayer instance.
setMovieFileName
void setMovieFileName(const char *);
Specify the movie to be played.
movieFileName
char * setMovieFileName(const char *);
Retrieve the name of the movie file currently installed.
movieId
MVid movieId()
Retrieve the MVid of the movie file. This allows other Movie
Library calls for further playback and movie editing functions to be
used. See mvIntro(3dm) for more details.
play
virtual void play();
virtual void play(Boolean playit);
Play the movie. The second form of this function plays if the
argument is TRUE, and stops if the argument is FALSE.
stop
virtual void stop();
Stop the movie.
rewind
virtual void rewind();
Rewind the movie to the beginning.
Page 2
VkMoviePlayer(3x) VkMoviePlayer(3x)
INHERITED MEMBER FUNCTIONS [Toc] [Back] Inherited from VkComponent
installDestroyHandler(), removeDestroyHandler(), widgetDestroyed(),
setDefaultResources(), getResources(), manage(), unmanage(),
baseWidget(), okToQuit(), _name, _baseWidget, _w, deleteCallback
Inherited from VkCallbackObject [Toc] [Back]
callCallbacks(), addCallback(), removeCallback(),
removeAllCallbacks()
CLASSES USED BY THIS CLASS
VkApp
VkComponent
makemovie
mvIntro(3dm)
/usr/share/src/ViewKit/Dmedia/vkmoveplayer.c++
ViewKit Programmer's Guide
The X Window System, DEC Press, Bob Sheifler and Jim Gettys
The X Window System Toolkit, DEC Press, Paul Asente and Ralph Swick
The OSF/Motif Programmers Reference, Prentice Hall, OSF
PPPPaaaaggggeeee 3333 [ Back ]
|