ifm::MouseEventData Class Reference
List of all members.
Detailed Description
Contains data associated with a mouse event.
Constructor & Destructor Documentation
| ifm::MouseEventData::MouseEventData |
( |
Component * |
component, |
|
|
const Point & |
position, |
|
|
bool |
control, |
|
|
bool |
shift, |
|
|
bool |
meta | |
|
) |
| | |
Member Function Documentation
| bool ifm::MouseEventData::control_pressed |
( |
|
) |
const |
- Returns:
- Whether or not the control key was pressed.
| Component * ifm::MouseEventData::get_component |
( |
|
) |
const |
- Returns:
- The component that experienced this event.
| Point ifm::MouseEventData::get_position |
( |
|
) |
const |
- Returns:
- The position of the event in client coordinates.
| bool ifm::MouseEventData::meta_pressed |
( |
|
) |
const |
- Returns:
- Whether or not the meta (alt) key was pressed.
| bool ifm::MouseEventData::shift_pressed |
( |
|
) |
const |
- Returns:
- Whether or not the shift key was pressed.
Member Data Documentation