Inheritance diagram for Exponent::GUI::Events::CMouseEvent:
Definition at line 45 of file CMouseEvent.hpp.
Enumerated mouse movements.
Definition at line 61 of file CMouseEvent.hpp.
Exponent::GUI::Events::CMouseEvent::CMouseEvent | ( | CMouse * | mouse, | |
const EMouseEventType | type, | |||
double | wheelMovementAmount = 0.0 | |||
) |
Construction
mouse | The mouse | |
type | The type of event | |
wheelMovementAmount | The amount of wheel movement -1 -> +1 |
Exponent::GUI::Events::CMouseEvent::CMouseEvent | ( | CMouse * | mouse, | |
const UINT | type, | |||
double | wheelMovementAmount = 0.0 | |||
) |
Construction
mouse | The mouse | |
type | The type of event | |
wheelMovementAmount | The amount of wheel movement -1 -> +1 |
virtual Exponent::GUI::Events::CMouseEvent::~CMouseEvent | ( | ) | [virtual] |
Destruction
EMouseEventType Exponent::GUI::Events::CMouseEvent::getEventType | ( | ) | const |
Get the event type
EMouseEventType | The type of event |
WPARAM Exponent::GUI::Events::CMouseEvent::getModifiers | ( | ) | const |
Get hte modifiers
WPARAM | The mouse modifiers |
const CMouse* Exponent::GUI::Events::CMouseEvent::getMouse | ( | ) | const |
Get the mouse
const | CMouse* The mouse |
const CPoint& Exponent::GUI::Events::CMouseEvent::getMousePosition | ( | ) | const |
Get the mouse position
const | CPoint The position of the mouse |
CMouse* Exponent::GUI::Events::CMouseEvent::getMutableMouse | ( | ) | const |
Get the mouse
CMouse* | The mouse |
double Exponent::GUI::Events::CMouseEvent::getWheelMovementAmount | ( | ) | const |
Get the wheel movement amount
double | The mouse wheel movement amount -1 -> +1 |
bool Exponent::GUI::Events::CMouseEvent::isAltDown | ( | ) | const |
Is the alt key down
bool | True if alt is down, false otherwise |
bool Exponent::GUI::Events::CMouseEvent::isCtrlDown | ( | ) | const |
Is ctrl down
bool | True if ctrl is down, false otherwise |
bool Exponent::GUI::Events::CMouseEvent::isShiftDown | ( | ) | const |
Is shift down
bool | True if shift is down, false otherwise |
void Exponent::GUI::Events::CMouseEvent::setEventType | ( | EMouseEventType | type | ) |
Set the event type
type | The mouse event type |
void Exponent::GUI::Events::CMouseEvent::setModifiers | ( | WPARAM | wParam | ) |
Set the modifiers
wParam | The windows mouse raw parameters |
void Exponent::GUI::Events::CMouseEvent::setModifiers | ( | const bool | ctrl, | |
const bool | shift, | |||
const bool | alt | |||
) |
Set the modifiers
shift | True if shift is down, false otherwise | |
alt | True if alt is down, false otherwise | |
ctrl | True if ctrl is down, false otherwise |
void Exponent::GUI::Events::CMouseEvent::setMousePosition | ( | const CPoint & | point | ) |
Set the mouse postiion
point | The mouse position |
void Exponent::GUI::Events::CMouseEvent::setWheelMovementAmount | ( | const double | wheelMovementAmount | ) |
Set the wheel movement amount
wheelMovementAmount | The amount of movement -1 -> +1 |
bool Exponent::GUI::Events::CMouseEvent::m_altIsDown [protected] |
Is alt key down
Definition at line 223 of file CMouseEvent.hpp.
bool Exponent::GUI::Events::CMouseEvent::m_ctrlIsDown [protected] |
Is ctrl key down
Definition at line 221 of file CMouseEvent.hpp.
CMouse* Exponent::GUI::Events::CMouseEvent::m_mouse [protected] |
The mouse that generated this
Definition at line 218 of file CMouseEvent.hpp.
WPARAM Exponent::GUI::Events::CMouseEvent::m_rawModifiers [protected] |
Raw modifiers for internal use
Definition at line 226 of file CMouseEvent.hpp.
bool Exponent::GUI::Events::CMouseEvent::m_shiftIsDown [protected] |
Is shift key down
Definition at line 222 of file CMouseEvent.hpp.
The type of event
Definition at line 217 of file CMouseEvent.hpp.
double Exponent::GUI::Events::CMouseEvent::m_wheelMovementAmount [protected] |
The mouse wheel movement amount
Definition at line 219 of file CMouseEvent.hpp.