Lumiera  0.pre.03
»edit your freedom«
LocatorSpec< depth > Class Template Reference

#include "stage/interact/view-spec-dsl.hpp"

Description

template<size_t depth>
class stage::interact::LocatorSpec< depth >

A specification to describe the desired location of a component view within the Lumiera UI.

LocatorSpec is basically a set of UI coordinates, with the additional possibility of specifying several alternatives, with the intention to pick the first applicable one.

Template Parameters
depththe level in the tree addressed by this locator
Remarks
Locator is built from a DSL expression, which is basically a UICoord::Builder. This coordinate spec describes a sequence of several places where to locate the UI-Element in question. The template parameter clarifies if we're talking about windows here, or panels or views. The latter is the default case.

Definition at line 134 of file view-spec-dsl.hpp.

Public Member Functions

 LocatorSpec (LocationRule &&ruleToDetermineLocation)
 
 LocatorSpec (UICoord::Builder &&simpleLocationSpec)
 shortcut to allow initialisation from UI-Coordinate builder expression
 
 operator string () const
 

Private Attributes

LocationRule rules_
 
+ Inheritance diagram for LocatorSpec< depth >:
+ Collaboration diagram for LocatorSpec< depth >:

The documentation for this class was generated from the following file: