|
Aurore
A Switch-like interface for your app, on every screen
|
#include <aurore/core/touch/pan_gesture.hpp>
Public Member Functions | |
| PanGestureRecognizer (PanGestureEvent::Callback respond, PanAxis axis) | |
| GestureState | recognitionLoop (TouchState touch, MouseState mouse, View *view, Sound *soundToPlay) override |
| PanAxis | getAxis () const |
| PanGestureStatus | getCurrentStatus () |
| PanGestureEvent | getPanGestureEvent () const |
Public Member Functions inherited from aurore::GestureRecognizer | |
| virtual | ~GestureRecognizer () |
| void | interrupt (bool onlyIfUnsureState) |
| bool | isEnabled () const |
| void | setEnabled (bool enabled) |
| GestureState | getState () const |
Static Public Attributes | |
| static float | panFactor { 1.0f } |
Additional Inherited Members | |
Protected Attributes inherited from aurore::GestureRecognizer | |
| GestureState | state = GestureState::FAILED |
| bool | enabled = true |
| aurore::PanGestureRecognizer::PanGestureRecognizer | ( | PanGestureEvent::Callback | respond, |
| PanAxis | axis | ||
| ) |
|
inline |
| PanGestureStatus aurore::PanGestureRecognizer::getCurrentStatus | ( | ) |
|
inline |
|
overridevirtual |
Reimplemented from aurore::GestureRecognizer.
Reimplemented in aurore::ScrollGestureRecognizer.
|
inlinestatic |