1UNTITLED                             LOCAL                            UNTITLED
2

NAME

4     glutPassiveMotionFunc — Sets the non-dragging (gliding?) mouse-motion
5     callback.
6

LIBRARY

8     OpenGLUT - input
9

SYNOPSIS

11     #include <openglut.h>
12
13     void
14     glutPassiveMotionFunc(void( *callback )( int x, int y ));
15

PARAMETERS

17      callback     Client mouse-glide hook.
18

DESCRIPTION

20     If you set this callback on a window, then every time that OpenGLUT
21     detects a change in the mouse position inside that window, with no but‐
22     tons pressed on that mouse, OpenGLUT will invoke  callback  with the win‐
23     dow coordinates of the mouse.
24
25     This callback is bound to the  current window  .
26

CAVEATS

28     Windows created via glutCreateMenuWindow() always cascade keyboard and
29     mouse events to their parent.
30

SEE ALSO

32     glutMotionFunc(3) glutMouseFunc(3) glutEntryFunc(3)
33
34
35
36
37                                     Epoch
Impressum