Lumiera  0.pre.03
»edityourfreedom«
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
CmdContext::Resolver Struct Reference

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

Description

Helper for dynamic command argument resolution.

Definition at line 103 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
 

Member Enumeration Documentation

enum Spec
Enumerator
HERE 
RECENT 

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

Constructor & Destructor Documentation

Resolver ( Spec  s)
inlineprivate

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

Member Function Documentation

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

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

Member Data Documentation

const Spec spec
private

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

Friends And Related Function Documentation

Resolver scope ( Spec  scopeSpec)
friend

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

Resolver element ( Spec  elementSpec)
friend

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

+ Collaboration diagram for CmdContext::Resolver:

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