AUI Framework  master
Cross-platform module-based framework for developing C++20 desktop applications
APointerPressedEvent Struct Reference

Pointing method press event. More...

Detailed Description

Pointing method press event.

Examples
/github/workspace/aui.views/src/AUI/View/AView.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.
 
AInput::Key asButton = pointerIndex.button().valueOr(AInput::LBUTTON)
 pointerIndex treated as mouse button. More...
 

Member Data Documentation

◆ asButton

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

pointerIndex treated as mouse button.

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

#include <AUI/Event/APointerPressedEvent.h>


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