class new in Git master
#include <Magnum/Ui/Event.h>
PointerCancelEvent Pointer cancel event.
Constructors, destructors, conversion operators
- PointerCancelEvent(Nanoseconds time) explicit
- Constructor.
Public functions
- auto time() const -> Nanoseconds
- Time at which the event happened.
Function documentation
Magnum:: Ui:: PointerCancelEvent:: PointerCancelEvent(Nanoseconds time) explicit
Constructor.
Parameters | |
---|---|
time | Time at which the event happened |
The time
may get used for UI animations. A default-constructed value causes an animation play time to be in the past, thus immediately transitioning to a stopped state.