|
Terminal++ 4.0.3.9
A C++ library for interacting with ANSI terminal windows
|
A structure that encapsulates a mouse event. More...
#include <mouse.hpp>
Public Attributes | |
| event_type | action_ = event_type::no_button_change |
| The type of action that caused this event. | |
| point | position_ |
| The position of the mouse in this event. | |
| button | button_ = button::none |
| std::optional< std::uint16_t > | button_code_ |
| terminalpp::vk_modifier | modifiers_ = terminalpp::vk_modifier::none |
| bool | is_motion_ = false |
| bool | is_release_ = false |
Friends | |
| constexpr friend auto | operator<=> (event const &lhs, event const &rhs) noexcept=default |
| Relational operators for events. | |
A structure that encapsulates a mouse event.