Lumiera
0.pre.03
»edit your freedom«
|
#include "stage/interact/gesture-state.hpp"
Holder for InteractionState dedicated to UI gestures and complex interactions.
write type comment...
WIP-WIP as of 3/2021
as of 3/2021 the whole scheme for addressing gestures and actual state implementations is rather just guesswork ///////////////////////////////////TODO do we need a translation unit interaction-state.cpp (otherwise delete it!)
Definition at line 67 of file gesture-state.hpp.
Public Types | |
enum | Action { DRAG, UNKNOWN } |
enum | Scope { ON_TIMELINE, OTHER } |
Public Member Functions | |
InteractionState & | getStateFor (Action action, Scope qualifier) |
Decode the classification of the kind of interaction and gesture, and thus translate to a concrete InteractionState implementation. More... | |
Private Attributes | |
unique_ptr< DragRelocateController > | dragRelocate_ |
Additional Inherited Members | |
Private Member Functions inherited from NonCopyable | |
NonCopyable (NonCopyable const &)=delete | |
NonCopyable & | operator= (NonCopyable const &)=delete |
InteractionState & getStateFor | ( | Action | action, |
Scope | qualifier | ||
) |
Decode the classification of the kind of interaction and gesture, and thus translate to a concrete InteractionState implementation.
In the meantime, we use some hard wired mappings to actual InteractionState implementations
Definition at line 76 of file gesture-state.cpp.