![]() |
Lumiera 0.pre.04~rc.1
»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.
Classes | |
| struct | Resolver |
| Helper for dynamic command argument resolution. More... | |
Static Public Member Functions | |
| static CmdContext | of (Symbol cmdID, Symbol ctxID) |
| global static service accessor function. | |
Public Member Functions | |
| CmdContext && | linkSubject (Subject &subj) |
| Builder operation: define the subject to use for the following interaction bindings. | |
| 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. | |
Private Member Functions | |
| CmdContext (InteractionState &iState, Symbol cmdID) | |
Private Member Functions inherited from MoveOnly | |
| ~MoveOnly ()=default | |
| MoveOnly ()=default | |
| MoveOnly (MoveOnly &&)=default | |
| MoveOnly (MoveOnly const &)=delete | |
| MoveOnly & | operator= (MoveOnly &&)=delete |
| MoveOnly & | operator= (MoveOnly const &)=delete |
Private Attributes | |
| InteractionState & | iState_ |
| Symbol | cmdID_ |
| Subject * | subject_ {nullptr} |
|
inlineprivate |
Definition at line 155 of file cmd-context.hpp.
|
static |
global static service accessor function.
Definition at line 77 of file cmd-context.cpp.
Referenced by ClipPresenter::establishAppearance().
Here is the caller graph for this function:
|
inline |
Builder operation: define the subject to use for the following interaction bindings.
Definition at line 168 of file cmd-context.hpp.
References CmdContext::subject_.
Referenced by ClipPresenter::establishAppearance().
Here is the caller graph for this function:| 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.
References CmdContext::cmdID_, CmdContext::iState_, InteractionState::linkTrigger(), and CmdContext::subject_.
Referenced by ClipPresenter::establishAppearance().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 149 of file cmd-context.hpp.
Referenced by CmdContext::setupRelocateDrag().
|
private |
Definition at line 150 of file cmd-context.hpp.
Referenced by CmdContext::setupRelocateDrag().
|
private |
Definition at line 153 of file cmd-context.hpp.
Referenced by CmdContext::linkSubject(), and CmdContext::setupRelocateDrag().
Inheritance diagram for CmdContext:
Collaboration diagram for CmdContext: