|
|
Donner 0.5.1
Embeddable browser-grade SVG2 engine
|
One discrete event that fired within a frame. Frame-state (mouse position, button mask) lives on the owning frame record; this captures only events that can't be reconstructed from continuous state (key presses, character input, wheel deltas, resizes). More...
#include "donner/editor/repro/ReproFile.h"
Public Types | |
| enum class | Kind { MouseDown , MouseUp , KeyDown , KeyUp , Char , Wheel , Resize , Focus } |
Public Attributes | |
| Kind | kind = Kind::MouseDown |
| int | mouseButton = 0 |
| int | key = 0 |
| int | modifiers = 0 |
| std::uint32_t | codepoint = 0 |
| float | wheelDeltaX = 0.0f |
| float | wheelDeltaY = 0.0f |
| int | width = 0 |
| int | height = 0 |
| bool | focusOn = true |
| std::optional< ReproHit > | hit |
| Hit-test checkpoint for MouseDown events. | |
One discrete event that fired within a frame. Frame-state (mouse position, button mask) lives on the owning frame record; this captures only events that can't be reconstructed from continuous state (key presses, character input, wheel deltas, resizes).