ifm::MouseEventData Class Reference

List of all members.


Detailed Description

Contains data associated with a mouse event.

Public Member Functions

bool control_pressed () const
Componentget_component () const
Point get_position () const
bool meta_pressed () const
 MouseEventData (Component *component, const Point &position, bool control, bool shift, bool meta)
bool shift_pressed () const

Private Attributes

Componentm_component
bool m_control
bool m_meta
Point m_position
bool m_shift

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


doxygen Get IFM - Interface Management System at SourceForge.net. Fast, secure and Free Open Source software downloads