Support Forum       G3D Web Page     
Public Attributes | List of all members
G3D::MouseMotionEvent Class Reference

Mouse motion event structure. More...

Public Attributes

const OSWindowosWindow
 The current window for this event. More...
 
uint8 state
 The current button state. More...
 
uint8 type
 GEventType::MOUSEMOTION. More...
 
uint8 which
 The mouse device index. More...
 
int16 x
 The X/Y coordinates of the mouse relative to the window. More...
 
int16 xrel
 The relative motion in the X direction. More...
 
int16 y
 
int16 yrel
 The relative motion in the Y direction. More...
 

Detailed Description

Mouse motion event structure.

Member Data Documentation

◆ osWindow

const OSWindow* G3D::MouseMotionEvent::osWindow

The current window for this event.

◆ state

uint8 G3D::MouseMotionEvent::state

The current button state.

◆ type

uint8 G3D::MouseMotionEvent::type

GEventType::MOUSEMOTION.

◆ which

uint8 G3D::MouseMotionEvent::which

The mouse device index.

◆ x

int16 G3D::MouseMotionEvent::x

The X/Y coordinates of the mouse relative to the window.

◆ xrel

int16 G3D::MouseMotionEvent::xrel

The relative motion in the X direction.

Not supported on all platforms.

◆ y

int16 G3D::MouseMotionEvent::y

◆ yrel

int16 G3D::MouseMotionEvent::yrel

The relative motion in the Y direction.

Not supported on all platforms.


documentation generated on Wed Nov 24 2021 08:01:58 using doxygen 1.8.15