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 isNodePressed() const -> bool
- Whether the event is called on a node that's currently pressed.
- auto isNodeHovered() 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:: isNodePressed() 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:: isNodeHovered() 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
.