FTXUI
5.0.0
C++ functional terminal UI.
|
A mouse event. It contains the coordinate of the mouse, the button pressed and the modifier (shift, ctrl, meta). More...
Public Types | |
enum | Button { Left = 0 , Middle = 1 , Right = 2 , None = 3 , WheelUp = 4 , WheelDown = 5 , WheelLeft = 6 , WheelRight = 7 } |
enum | Motion { Released = 0 , Pressed = 1 , Moved = 2 } |
Data Fields | |
Button | button = Button::None |
Motion | motion = Motion::Pressed |
bool | shift = false |
bool | meta = false |
bool | control = false |
int | x = 0 |
int | y = 0 |
A mouse event. It contains the coordinate of the mouse, the button pressed and the modifier (shift, ctrl, meta).
enum Button |