Lumiera
0.pre.03
»edit your freedom«
|
#include "stage/interact/cmd-context.hpp"
Builder to define a binding to relate some entity or place within the UI with a specific from of interaction gesture or context dependent command invocation.
Definition at line 146 of file cmd-context.hpp.
Public Member Functions | |
CmdContext && | linkSubject (Subject &subj) |
Builder operation: define the subject to use for the following interaction bindings. More... | |
void | setupRelocateDrag () |
Terminal builder operation: establish the infrastructure for the already defined participants to be involved into a dragging gesture, for the purpose of relocating the subject. More... | |
Static Public Member Functions | |
static CmdContext | of (Symbol cmdID, Symbol ctxID) |
global static service accessor function. More... | |
Classes | |
struct | Resolver |
Helper for dynamic command argument resolution. More... | |
Private Member Functions | |
CmdContext (InteractionState &iState, Symbol cmdID) | |
Private Member Functions inherited from MoveOnly | |
MoveOnly (MoveOnly &&)=default | |
MoveOnly (MoveOnly const &)=delete | |
MoveOnly & | operator= (MoveOnly &&)=delete |
MoveOnly & | operator= (MoveOnly const &)=delete |
Private Attributes | |
Symbol | cmdID_ |
InteractionState & | iState_ |
Subject * | subject_ {nullptr} |
|
static |
global static service accessor function.
Definition at line 77 of file cmd-context.cpp.
Referenced by ClipPresenter::establishAppearance().
|
inline |
Builder operation: define the subject to use for the following interaction bindings.
Definition at line 168 of file cmd-context.hpp.
void setupRelocateDrag | ( | ) |
Terminal builder operation: establish the infrastructure for the already defined participants to be involved into a dragging gesture, for the purpose of relocating the subject.
Definition at line 85 of file cmd-context.cpp.