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

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

Contents


VkCursorList(3x)					      VkCursorList(3x)


NAME    [Toc]    [Back]

     VkCursorList - Support lists of cursors that can be used for animation

HEADER FILE    [Toc]    [Back]

     #include <Vk/VkCursorList.h>

PUBLIC PROTOCOL	SUMMARY
   Destructor
	   virtual void	~VkCursorList(void);

CLASS DESCRIPTION    [Toc]    [Back]

	  This abstract	base class manages a list of cursors and supports
	  functions for	cycling	through	the list. It is	used as	the basis of
	  VkBusyCursor,	which provides a sequence of animated busy cursors. To
	  add alternate	busy cursors to	a ViewKit application, one can
	  subclass VkCursorList, provide the desired sequence of Cursors, and
	  install the new class	with the VkApp object.


PUBLIC METHOD DESCRIPTIONS    [Toc]    [Back]

   ~VkCursorList()
	   virtual void	~VkCursorList(void);


	  Frees	the storage associated with a VkCursorList object.

   next()
	  Cursor next();


	  Returns the next Cursor in the sequence.

   current()
	  Cursor current();


	  Returns the current cursor in	the sequence.

   reset()
	  void reset();


	  Resets a sequence of Cursors to the initial Cursor in	the animation
	  sequence.









									Page 1






VkCursorList(3x)					      VkCursorList(3x)



DERIVING SUBCLASSES
	  To use the VkCursorList class, you must create a subclass. The
	  subclass must	implement the createCursor() method, which is expected
	  to return a Cursor, given an index into a sequence.

PROTECTED METHOD DESCRIPTIONS    [Toc]    [Back]

   VkCursorList()
	   VkCursorList(int numCursors);


	  Initializes a	VkCursorList object. This constructor must be called
	  from a derived class constructor. The	numCursors argument must
	  indicate the number of Cursors in the	sequence of animated Cursors
	  this class will create.

   createCursor()
	      virtual void createCursor(int index) = 0;


	  VkCursorList uses a lazy evaluation method for creating Cursors. No
	  Cursors are created initially. VkCursorList maintains	a list of
	  cursors that is supplied to clients via calls	to next() and
	  current(). When VkCursorList needs a Cursor that has not yet been
	  created, it calls createCursor() with	an index that indicates	the
	  needed Cursor. Subclasses are	expected to implement this function
	  and be able to return	the appropriate	Cursor.

KNOWN DERIVED CLASSES    [Toc]    [Back]

     VkBusyCursor

SEE ALSO    [Toc]    [Back]

      
      
     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 2222
[ Back ]
 Similar pages
Name OS Title
getcursor IRIX maintain database of cursors
getcursor IRIX maintain database of cursors
perllol IRIX Manipulating Lists of Lists in Perl
SIMPLEQ_INSERT_TAIL NetBSD implementations of singlylinked lists, lists, simple queues, tail queues, and circular queues
TAILQ_NEXT NetBSD implementations of singlylinked lists, lists, simple queues, tail queues, and circular queues
TAILQ_INSERT_TAIL NetBSD implementations of singlylinked lists, lists, simple queues, tail queues, and circular queues
TAILQ_INSERT_HEAD NetBSD implementations of singlylinked lists, lists, simple queues, tail queues, and circular queues
SIMPLEQ_EMPTY NetBSD implementations of singlylinked lists, lists, simple queues, tail queues, and circular queues
TAILQ_REMOVE NetBSD implementations of singlylinked lists, lists, simple queues, tail queues, and circular queues
CIRCLEQ_EMPTY NetBSD implementations of singlylinked lists, lists, simple queues, tail queues, and circular queues
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service