AUI Framework
develop
Cross-platform base for C++ UI apps
|
Wrapper class that stores either mouse button index or finger index. More...
#include <AUI/Event/APointerIndex.h>
Public Member Functions | |
bool | isButton () const noexcept |
bool | isFinger () const noexcept |
AOptional< AInput::Key > | button () const noexcept |
AOptional< int > | finger () const noexcept |
auto | operator<=> (const APointerIndex &rhs) const noexcept=default |
constexpr int | rawValue () const noexcept |
Static Public Member Functions | |
static constexpr APointerIndex | button (AInput::Key button) |
static constexpr APointerIndex | finger (int fingerIndex) |
Wrapper class that stores either mouse button index or finger index.
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenodiscardnoexcept |
|
inlinenodiscardnoexcept |