*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->IRIX man pages -> Vk/VkMoviePlayer (3)              
Title
Content
Arch
Section
 

Contents


VkMoviePlayer(3x)					     VkMoviePlayer(3x)


NAME    [Toc]    [Back]

     VkMoviePlayer - A multimedia Player component that	plays a	movie

INHERITS FROM    [Toc]    [Back]

     VkComponent : VkCallbackObject

HEADER FILE    [Toc]    [Back]

     #include <Vk/VkMoviePlayer.h>

MAKE REQUIREMENTS    [Toc]    [Back]

     -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();

CLASS DESCRIPTION    [Toc]    [Back]

	   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

SEE ALSO    [Toc]    [Back]

      
      
     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 ]
 Similar pages
Name OS Title
VkMovieButton IRIX A multimedia button component that plays a movie
mvIntro IRIX introduction to the Movie Libraries SYNOPSIS (Movie File Library) #include -lmoviefile SY
mvShowCurrentFrame IRIX Display current movie frame on screen for a movie instance
makemovie IRIX make a movie from movie, image, and audio files
mvOptimize IRIX optimize a movie file for playback after editing operations, or create a flattened movie file
XmStringPeekNextComponent Tru64 A compound string function that returns the component type of the next component fetched
XmStringPeekNextComponent IRIX A compound string function that returns the component type of the next component fetched
XmStringPeekNextComponent HP-UX A compound string function that returns the component type of the next component to be fetched
XmStringInitContext HP-UX A compound string function that creates a data structure for scanning an XmString component by component
urio OpenBSD USB driver for Diamond Multimedia Rio MP3 players
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service