|
HikoGUI
A low latency retained GUI
|
Public Types | |
| enum class | Type { None , Entered , Exited , Move , Drag , ButtonDown , ButtonUp } |
Static Public Member Functions | |
| static MouseEvent | entered (vec position=vec::point(0.0f, 0.0f)) noexcept |
| static MouseEvent | exited () noexcept |
Data Fields | |
| Type | type |
| hires_utc_clock::time_point | timePoint |
| vec | position |
| The current position of the mouse pointer. | |
| vec | downPosition |
| The position the last time a button was pressed. | |
| MouseButtons | cause |
| Buttons which has caused this event. | |
| MouseButtons | down |
| Buttons that are pressed/held down. | |
| int | clickCount |
| Number of clicks from the last button clicked. | |
Friends | |
| std::string | to_string (MouseEvent const &rhs) noexcept |
| std::ostream & | operator<< (std::ostream &lhs, MouseEvent const &rhs) |
| MouseButtons tt::MouseEvent::cause |
Buttons which has caused this event.
| int tt::MouseEvent::clickCount |
Number of clicks from the last button clicked.
| MouseButtons tt::MouseEvent::down |
Buttons that are pressed/held down.
| vec tt::MouseEvent::downPosition |
The position the last time a button was pressed.
| vec tt::MouseEvent::position |
The current position of the mouse pointer.