mouseClickCallback
Default mainpageApplicationmouseClickCallback
Description Source Call Graph
mouseClickCallback ( Static Functions )
Creates a callback in FreeGLUT for when the mouse is clicked.
 
Syntax / parameters
void mouseClickCallback(int button, int upOrDown, int x, int y)

Name Type Default Description
button int
  The button clicked
upOrDown int
  Whether the button was pressed or released
x int
  The x coordinate of the mouse relative to the window The y coordinate of the mouse relative to the window
y int
   
Description
Creates a callback in FreeGLUT for when the mouse is clicked.
 
Source
The documentation for this Member was generated from the following file:
  • GLUTApplication.cpp