|
TachyonUI 1.1.0
High-performance UI for building tools.
|
What a wheel or pinch event asks of a canvas. More...
#include <gui_core/input/gui_navigation.h>
Public Member Functions | |
| bool | Any () const |
Public Attributes | |
| float | zoom = 1.0f |
| by how much to zoom round the pointer; above 1 is in, 1 is none | |
| float2 | pan {} |
| how far to scroll, in wheel notches: x right, y down | |
What a wheel or pinch event asks of a canvas.
|
inline |
| float tachyon::WheelNavigation::zoom = 1.0f |
by how much to zoom round the pointer; above 1 is in, 1 is none
| float2 tachyon::WheelNavigation::pan {} |
how far to scroll, in wheel notches: x right, y down