|  | cpp-terminal 1.0.0
    Small C++ library for writing multiplatform terminal applications | 
#include <cpp-terminal/mouse.hpp>
| Public Types | |
| enum class | Type : std::int8_t { None = -1 , Left , Wheel , Right , Button1 , Button2 , Button3 , Button4 , Button5 , Button6 , Button7 , Button8 } | 
| enum class | Action : std::int8_t { None = 0 , Pressed , Released , DoubleClicked , RolledUp , RolledDown , ToRight , ToLeft } | 
| Public Member Functions | |
| Button ()=default | |
| Button (const Term::Button::Type &type, const Term::Button::Action &action) | |
| Term::Button::Action | action () const noexcept | 
| Term::Button::Type | type () const noexcept | 
| bool | operator== (const Term::Button &button) const | 
| bool | operator!= (const Term::Button &button) const | 
| Private Attributes | |
| Term::Button::Type | m_type {Term::Button::Type::None} | 
| Term::Button::Action | m_action {Term::Button::Action::None} | 
| 
 | strong | 
| Enumerator | |
|---|---|
| None | |
| Pressed | |
| Released | |
| DoubleClicked | |
| RolledUp | |
| RolledDown | |
| ToRight | |
| ToLeft | |
Definition at line 36 of file mouse.hpp.
| 
 | strong | 
| 
 | default | 
| 
 | inline | 
| 
 | noexcept | 
| bool Term::Button::operator!= | ( | const Term::Button & | button | ) | const | 
| bool Term::Button::operator== | ( | const Term::Button & | button | ) | const | 
| 
 | noexcept | 
| 
 | private | 
| 
 | private |