Crazy Eddie's GUI System  0.8.0
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Pages
CEGUI::MouseEventArgs Class Reference

EventArgs based class that is used for objects passed to input event handlers concerning mouse input. More...

+ Inheritance diagram for CEGUI::MouseEventArgs:
+ Collaboration diagram for CEGUI::MouseEventArgs:

Public Member Functions

 MouseEventArgs (Window *wnd)
 
- Public Member Functions inherited from CEGUI::WindowEventArgs
 WindowEventArgs (Window *wnd)
 

Public Attributes

Vector2f position
 holds current mouse position.
 
Vector2f moveDelta
 holds variation of mouse position from last mouse input
 
MouseButton button
 one of the MouseButton enumerated values describing the mouse button causing the event (for button inputs only)
 
uint sysKeys
 current state of the system keys and mouse buttons.
 
float wheelChange
 Holds the amount the scroll wheel has changed.
 
uint clickCount
 Holds number of mouse button down events currently counted in a multi-click sequence (for button inputs only).
 
- Public Attributes inherited from CEGUI::WindowEventArgs
Windowwindow
 pointer to a Window object of relevance to the event.
 
- Public Attributes inherited from CEGUI::EventArgs
uint handled
 handlers should increment this if they handled the event.
 

Detailed Description

EventArgs based class that is used for objects passed to input event handlers concerning mouse input.