NovaTK::MouseEventInfo Struct Reference

Inheritance diagram for NovaTK::MouseEventInfo:
Collaboration diagram for NovaTK::MouseEventInfo:

List of all members.


Detailed Description

Contains details of mouse specific events.

Public Types

enum  MouseButton {
  NoButton = 0, LeftButton = 1<<0, MiddleButton = 1<<1, RightButton = 1<<2,
  WheelUp = 1<<3, WheelDown = 1<<4
}

Public Attributes

int x
int y
int root_x
int root_y
enum
NovaTK::MouseEventInfo::MouseButton 
button
ushort buttons_down
bool doubleclick

Member Enumeration Documentation

Identifies a mouse button.

Enumerator:
NoButton  This event was not triggered by a mouse button. It was likely a motion event.
LeftButton  The first mouse button.
MiddleButton  The second mouse button.
RightButton  The third mouse button.
WheelUp  The wheel was rolled upwards.
WheelDown  The wheel was rolled downwards.


Member Data Documentation

The horizontal position of the pointer relative to the window that triggered the event.

The vertical position of the pointer relative to the window that triggered the event.

The horizontal position of the pointer relative to the root window (The user's desktop).

The vertical position of the pointer relative to the root window (The user's desktop).

Specifies the button that triggered the event.

A bitmask specifying all mouse buttons that were down during this event.

TRUE if this was a Button Down event and was a double click.


The documentation for this struct was generated from the following file:

Generated on Sat Sep 13 22:34:19 2008 for NovaTK by  doxygen 1.5.5