OpenGLPrakt --> events --> cEventProducer --> cEventInput
public cEventInput ( cEventDispatcher * disp ) ;
constructor (registers callback with GLUT)
disp | cEventDispatcher to send all events to |
public cEventInput ( const cEventInput & e ) ;
copy constructor
public virtual ~ cEventInput ( ) ;
destructor
public virtual void SendKeyEvent ( unsigned char key , int special , int modifiers ) ;
send a key event away
key | standard ASCII of pressed key (0 = special key) |
special | special key code, if key==0 |
modifiers | active key modifiers (CTRL, etc.) |
public virtual void SendMouseMoveEvent ( int x , int y ) ;
send a mouse move
x | x coordinate of mouse |
y | y coordinate of mouse |
public virtual void SendMousePressEvent ( int button , int state , int x , int y ) ;
send a mouse button press
button | which button was affected |
state | was it pressed or released (GLUT_UP/GLUT_DOWN) |
x | x pos of mouse |
y | y pos of mouse |
This documentation was generated automatically by the ccdoc tool (version 0.7a).
Click here to submit a bug report or feature request.
Click here to return to the top of the page.