class new in Git master
#include <Magnum/Ui/Event.h>
VisibilityLostEvent Visibility lost event.
Unlike all other events, this event is fired from AbstractUserInterface::
Constructors, destructors, conversion operators
- VisibilityLostEvent() defaulted explicit
- Constructor.
Public functions
- auto isPressed() const -> bool
- Whether the event is called on a node that's currently pressed.
- auto isHovering() const -> bool
- Whether the event is called on a node that's currently hovered.
Function documentation
Magnum:: Ui:: VisibilityLostEvent:: VisibilityLostEvent() explicit defaulted
Constructor.
The pressed and hover properties are set from AbstractUserInterface event handler internals.
bool Magnum:: Ui:: VisibilityLostEvent:: isPressed() const
Whether the event is called on a node that's currently pressed.
Returns true
only if the event was called in response to AbstractUserInterface::false
.
bool Magnum:: Ui:: VisibilityLostEvent:: isHovering() const
Whether the event is called on a node that's currently hovered.
Returns true
only if the event was called in response to AbstractUserInterface::false
.