VkMoviePlayer(3x)
VkMoviePlayer - A multimedia Player component that plays a movie
As shipped in IRIX 6.5.7. Unchanged since IRIX 6.5.
NAME VkMoviePlayer - A multimedia Player component that plays a movie INHERITS FROM VkComponent : VkCallbackObject HEADER FILE #include <Vk/VkMoviePlayer.h> MAKE REQUIREMENTS -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 char* movieFileName() const; q void setMovieFileName(const char *); Controlling playback virtual void play(); virtual void play(Boolean); virtual void stop(); virtual void rewind(); CLASS DESCRIPTION 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 VkMoviePlayer() VkMoviePlayer(const char *name, Widget parent, char *movieFileName= NULL); Initialize a VkMoviePlayer. "movieFileName" specifies a valid movie file. ~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. INHERITED MEMBER FUNCTIONS Inherited from VkComponent installDestroyHandler(), removeDestroyHandler(), widgetDestroyed(), setDefaultResources(), getResources(), manage(), unmanage(), baseWidget(), okToQuit(), _name, _baseWidget, _w, deleteCallback Inherited from VkCallbackObject callCallbacks(), addCallback(), removeCallback(), removeAllCallbacks() CLASSES USED BY THIS CLASS VkApp SEE ALSO 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