Boost.UI
User Interface Boost library
Public Member Functions | List of all members
boost::ui::mouse_event Class Reference

Mouse event class that holds information about mouse when event was generated. More...

Inheritance diagram for boost::ui::mouse_event:
[legend]

Public Member Functions

coord_type x () const
 Returns x mouse coordinate relative to the parent widget client area.
 
coord_type y () const
 Returns y mouse coordinate relative to the parent widget client area.
 
point pos () const
 Returns mouse position relative to the parent widget client area.
 
bool left () const
 Returns true if mouse button is pressed or was unpressed in this event.
 
bool right () const
 Returns true if mouse button is pressed or was unpressed in this event.
 
bool middle () const
 Returns true if mouse button is pressed or was unpressed in this event.
 

Detailed Description

Mouse event class that holds information about mouse when event was generated.

See also
Mouse (Wikipedia)

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