AUI Framework  develop
Cross-platform base for C++ UI apps
Loading...
Searching...
No Matches
APointerReleasedEvent Struct Reference

Pointing method press event. More...

#include <AUI/Event/APointerReleasedEvent.h>

Signals and public fields

glm::vec2 position
 Where does the event occurred.
 
APointerIndex pointerIndex
 Which button of the pointing device is triggered the event (AInput::LBUTTON if not present) or finger.
 
bool triggerClick = true
 Whether the pointer release event triggers click event or not.
 
AInput::Key asButton = pointerIndex.button().valueOr(AInput::LBUTTON)
 pointerIndex treated as mouse button.
 

Detailed Description

Pointing method press event.

Member Data Documentation

◆ asButton

AInput::Key APointerReleasedEvent::asButton = pointerIndex.button().valueOr(AInput::LBUTTON)

pointerIndex treated as mouse button.

= LBUTTON if finger event, pointerIndex.button() otherwise.


The documentation for this struct was generated from the following file:
Collaboration diagram for APointerReleasedEvent: