3#include "terminalpp/point.hpp"
7namespace terminalpp::mouse {
9enum class event_type :
byte
28 event_type action_ = event_type::no_button_change;
39 event const &lhs,
event const &rhs)
noexcept =
default;
46std::ostream &operator<<(std::ostream &out,
event const &ev);
A structure that encapsulates a mouse event.
Definition mouse.hpp:24
point position_
The position of the mouse in this event.
Definition mouse.hpp:33
constexpr friend auto operator<=>(event const &lhs, event const &rhs) noexcept=default
Relational operators for events.
A class that represents a position in space.
Definition point.hpp:17