glutMotionFunc man page on MacOSX

Man page or keyword search:  
man Server   23457 pages
apropos Keyword Search (all sections)
Output format
MacOSX logo
[printable version]

glutMotionFunc(3GLUT)		     GLUT		 glutMotionFunc(3GLUT)

NAME
       glutMotionFunc,	glutPassiveMotionFunc  -  set  the  motion and passive
       motion callbacks respectively for the current window.

SYNTAX
       #include <GLUT/glut.h>

       void glutMotionFunc(void (*func)(int x, int y));
       void glutPassiveMotionFunc(void (*func)(int x, int y));

ARGUMENTS
       func	 The new motion or passive motion callback function.

DESCRIPTION
       glutMotionFunc and glutPassiveMotionFunc set  the  motion  and  passive
       motion  callback	 respectively for the current window. The motion call‐
       back for a window is called when the  mouse  moves  within  the	window
       while  one  or more mouse buttons are pressed. The passive motion call‐
       back for a window is called when the  mouse  moves  within  the	window
       while no mouse buttons are pressed.

       The  x  and y callback parameters indicate the mouse location in window
       relative coordinates.

       Passing NULL to glutMotionFunc or  glutPassiveMotionFunc	 disables  the
       generation of the mouse or passive motion callback respectively.

SEE ALSO
       glutMouseFunc, glutSpaceballMotionFunc, glutTabletMotionFunc

AUTHOR
       Mark J. Kilgard (mjk@nvidia.com)

GLUT				      3.7		 glutMotionFunc(3GLUT)
[top]

List of man pages available for MacOSX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net