Cogs.Core
|
Classes | |
struct | Data |
Public Types | |
enum | State : uint32_t { None , Pressed , Moving , Released } |
Public Attributes | |
PointerType | type = PointerType::Unknown |
Current pointer type (i.e. | |
MouseButton | button = MouseButton::NoButton |
Pressed pointer button. | |
State | state = State::None |
Pointer state. | |
Data | init |
Pointer data when pointer was pressed. | |
Data | prev |
Pointer data before previous update. | |
Data | curr |
Current pointer data. | |
Definition at line 185 of file Gestures.h.
enum Cogs::Gestures::PointerState::State : uint32_t |
Definition at line 187 of file Gestures.h.
MouseButton Cogs::Gestures::PointerState::button = MouseButton::NoButton |
Pressed pointer button.
For touch, this will be MouseButton::Left.
Definition at line 202 of file Gestures.h.
Data Cogs::Gestures::PointerState::curr |
Current pointer data.
Definition at line 206 of file Gestures.h.
Data Cogs::Gestures::PointerState::init |
Pointer data when pointer was pressed.
Definition at line 204 of file Gestures.h.
Data Cogs::Gestures::PointerState::prev |
Pointer data before previous update.
Definition at line 205 of file Gestures.h.
State Cogs::Gestures::PointerState::state = State::None |
Pointer state.
Definition at line 203 of file Gestures.h.
PointerType Cogs::Gestures::PointerState::type = PointerType::Unknown |