Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

Class wheel_event

boost::ui::wheel_event — Mouse wheel event class.

Synopsis

// In header: <boost/ui/event.hpp>


class wheel_event : public boost::ui::mouse_event {
public:
  // construct/copy/destruct
  wheel_event();

  // public member functions
  bool horizontal() const;
  bool vertical() const;
  coord_type delta_x() const;
  coord_type delta_y() const;
};

Description

See Also:

Scroll wheel (Wikipedia)

wheel_event public construct/copy/destruct

  1. wheel_event();

wheel_event public member functions

  1. bool horizontal() const;
    Returns true only if wheel move is horizontal.
  2. bool vertical() const;
    Returns true only if wheel move is vertical.
  3. coord_type delta_x() const;
    Returns wheel horizontal move delta.
  4. coord_type delta_y() const;
    Returns wheel vertical move delta.

PrevUpHomeNext