ttx 0.1.0
|
#include </home/runner/work/ttx/ttx/lib/include/ttx/mouse_event.h>
Public Member Functions | |
constexpr | MouseEvent (MouseEventType type, MouseButton button, MousePosition const &position={}, Modifiers modifiers=Modifiers::None) |
constexpr auto | type () const -> MouseEventType |
constexpr auto | button () const -> MouseButton |
constexpr auto | position () const -> MousePosition const & |
constexpr auto | modifiers () const -> Modifiers |
constexpr auto | is_vertical_scroll () const -> bool |
constexpr auto | translate (MouseCoordinate offset_in_cells, dius::tty::WindowSize const &size) const -> MouseEvent |
auto | operator== (MouseEvent const &) const -> bool=default |
Static Public Member Functions | |
static constexpr auto | press (MouseButton button, MousePosition const &position={}, Modifiers modifiers=Modifiers::None) -> MouseEvent |
Friends | |
constexpr friend auto | tag_invoke (di::Tag< di::reflect >, di::InPlaceType< MouseEvent >) |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
default |
|
inlineconstexpr |
|
inlinestaticconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
friend |