Sophie

Sophie

distrib > Fedora > 15 > i386 > by-pkgid > eee00533ac83fd7ebbf9846dc6d3b77b > files > 282

Io-language-graphics-and-sound-20080330-6.fc15.i686.rpm


<HTML><HEAD><TITLE>Manpage of glutSetCursor</TITLE>
</HEAD><BODY>
<H1>glutSetCursor</H1>
Section: GLUT (3GLUT)<BR>Updated: 3.7<BR><A HREF="#index">Index</A>
<A HREF="">Return to Main Contents</A><HR>

<A NAME="lbAB">&nbsp;</A>
<H2>NAME</H2>

glutSetCursor - changes the cursor image of the current window. 
<A NAME="lbAC">&nbsp;</A>
<H2>SYNTAX</H2>

<PRE>

void glutSetCursor(int cursor);
</PRE>

<A NAME="lbAD">&nbsp;</A>
<H2>ARGUMENTS</H2>

<DL COMPACT>
<DT><I>cursor</I><DD>
Name of cursor image to change to.  Possible values follow:
<DT><B>GLUT_CURSOR_RIGHT_ARROW</B>

<DD>
Arrow pointing up and to the right. 
<DT><B>GLUT_CURSOR_LEFT_ARROW</B>

<DD>
Arrow pointing up and to the left. 
<DT><B>GLUT_CURSOR_INFO </B>

<DD>
Pointing hand. 
<DT><B>GLUT_CURSOR_DESTROY</B>

<DD>
Skull &amp; cross bones. 
<DT><B>GLUT_CURSOR_HELP</B>

<DD>
Question mark. 
<DT><B>GLUT_CURSOR_CYCLE</B>

<DD>
Arrows rotating in a circle. 
<DT><B>GLUT_CURSOR_SPRAY</B>

<DD>
Spray can. 
<DT><B>GLUT_CURSOR_WAIT</B>

<DD>
Wrist watch. 
<DT><B>GLUT_CURSOR_TEXT</B>

<DD>
Insertion point cursor for text. 
<DT><B>GLUT_CURSOR_CROSSHAIR</B>

<DD>
Simple cross-hair. 
<DT><B>GLUT_CURSOR_UP_DOWN </B>

<DD>
Bi-directional pointing up &amp; down. 
<DT><B>GLUT_CURSOR_LEFT_RIGHT</B>

<DD>
Bi-directional pointing left &amp; right. 
<DT><B>GLUT_CURSOR_TOP_SIDE</B>

<DD>
Arrow pointing to top side. 
<DT><B>GLUT_CURSOR_BOTTOM_SIDE</B>

<DD>
Arrow pointing to bottom side. 
<DT><B>GLUT_CURSOR_LEFT_SIDE</B>

<DD>
Arrow pointing to left side. 
<DT><B>GLUT_CURSOR_RIGHT_SIDE</B>

<DD>
Arrow pointing to right side. 
<DT><B>GLUT_CURSOR_TOP_LEFT_CORNER</B>

<DD>
Arrow pointing to top-left corner. 
<DT><B>GLUT_CURSOR_TOP_RIGHT_CORNER</B>

<DD>
Arrow pointing to top-right corner. 
<DT><B>GLUT_CURSOR_BOTTOM_RIGHT_CORNER</B>

<DD>
Arrow pointing to bottom-left corner. 
<DT><B>GLUT_CURSOR_BOTTOM_LEFT_CORNER</B>

<DD>
Arrow pointing to bottom-right corner. 
<DT><B>GLUT_CURSOR_FULL_CROSSHAIR</B>

<DD>
Full-screen cross-hair cursor (if possible, otherwise
GLUT_CURSOR_CROSSHAIR). 
<DT><B>GLUT_CURSOR_NONE</B>

<DD>
Invisible cursor. 
<DT><B>GLUT_CURSOR_INHERIT</B>

<DD>
Use parent's cursor. 
</DL>
<A NAME="lbAE">&nbsp;</A>
<H2>DESCRIPTION</H2>

glutSetCursor changes the cursor image of the current window.
Each call requests the window system change the cursor appropriately.
The cursor image when a window is created is
GLUT_CURSOR_INHERIT. The exact cursor images used are
implementation dependent. The intent is for the image to convey the
meaning of the cursor name. For a top-level window,
GLUT_CURSOR_INHERIT uses the default window system cursor. 
<A NAME="lbAF">&nbsp;</A>
<H2>X IMPLEMENTATION NOTES</H2>

GLUT for X uses SGI's _SGI_CROSSHAIR_CURSOR convention to
access a full-screen cross-hair cursor if possible.
<A NAME="lbAG">&nbsp;</A>
<H2>SEE ALSO</H2>

glutCreateWindow, glutCreateSubWindow
<A NAME="lbAH">&nbsp;</A>
<H2>AUTHOR</H2>

Mark J. Kilgard (<A HREF="mailto:mjk@nvidia.com">mjk@nvidia.com</A>)
<P>

<HR>
<A NAME="index">&nbsp;</A><H2>Index</H2>
<DL>
<DT><A HREF="#lbAB">NAME</A><DD>
<DT><A HREF="#lbAC">SYNTAX</A><DD>
<DT><A HREF="#lbAD">ARGUMENTS</A><DD>
<DT><A HREF="#lbAE">DESCRIPTION</A><DD>
<DT><A HREF="#lbAF">X IMPLEMENTATION NOTES</A><DD>
<DT><A HREF="#lbAG">SEE ALSO</A><DD>
<DT><A HREF="#lbAH">AUTHOR</A><DD>
</DL>
<HR>
This document was created by
<A HREF="">man2html</A>,
using the manual pages.<BR>
Time: 19:05:09 GMT, September 15, 2003
</BODY>
</HTML>