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

Public Attributes

union {
   uint8   numClicks
 
   uint8   state
 
}; 
 
uint8 button
 The mouse button index. More...
 
bool controlKeyIsDown
 True if the ctrl key is pressed. More...
 
const OSWindowosWindow
 The current window for this event. More...
 
uint8 type
 GEventType::MOUSE_BUTTON_DOWN, GEventType::MOUSE_BUTTON_UP, or GEventType::MOUSE_BUTTON_CLICK. More...
 
uint8 which
 The mouse device index. More...
 
int16 x
 The X/Y coordinates of the mouse at press time. More...
 
int16 y
 

Member Data Documentation

◆ @14

union { ... }

◆ button

uint8 G3D::MouseButtonEvent::button

The mouse button index.

◆ controlKeyIsDown

bool G3D::MouseButtonEvent::controlKeyIsDown

True if the ctrl key is pressed.

◆ numClicks

uint8 G3D::MouseButtonEvent::numClicks

◆ osWindow

const OSWindow* G3D::MouseButtonEvent::osWindow

The current window for this event.

◆ state

uint8 G3D::MouseButtonEvent::state

◆ type

uint8 G3D::MouseButtonEvent::type

◆ which

uint8 G3D::MouseButtonEvent::which

The mouse device index.

◆ x

int16 G3D::MouseButtonEvent::x

The X/Y coordinates of the mouse at press time.

◆ y

int16 G3D::MouseButtonEvent::y

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