Lumiera  0.pre.03
»edit your freedom«
CmdContext::Resolver Struct Reference

#include "stage/interact/cmd-context.hpp"

Description

Helper for dynamic command argument resolution.

Todo:
4/2021 this was part of a design draft in 2017, not clear yet if we need it

Definition at line 198 of file cmd-context.hpp.

Public Types

enum  Spec {
  HERE,
  RECENT
}
 

Public Member Functions

 operator LuidH ()
 query current interaction state to resolve the element in question More...
 

Friends

Resolver element (Spec elementSpec)
 
Resolver scope (Spec scopeSpec)
 

Private Member Functions

 Resolver (Spec s)
 

Private Attributes

const Spec spec = HERE
 

Member Function Documentation

◆ operator LuidH()

operator LuidH ( )

query current interaction state to resolve the element in question

Returns
hash-ID to indicate the element or scope
Remarks
this service is used to resolve command arguments based on the current state of UI interaction. This can be used to get e.g. the scope enclosing the element currently in focus
Todo:
4/21 this was an idea from the initial draft in 2017 – undecided yet

Definition at line 108 of file cmd-context.cpp.

+ Collaboration diagram for CmdContext::Resolver:

The documentation for this struct was generated from the following files: