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

Mouse wheel event class. More...

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

Public Member Functions

bool horizontal () const
 Returns true only if wheel move is horizontal.
 
bool vertical () const
 Returns true only if wheel move is vertical.
 
coord_type delta_x () const
 Returns wheel horizontal move delta.
 
coord_type delta_y () const
 Returns wheel vertical move delta.
 
- Public Member Functions inherited from boost::ui::mouse_event
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 wheel event class.

See also
Scroll wheel (Wikipedia)

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