morph 0.1.0
Asynchronous bridge between GUI thread and business models
Loading...
Searching...
No Matches
morph::ui::CustomProp Struct Reference

One prop a loaded custom component is given. More...

#include <view.hpp>

Public Attributes

std::string name
 The prop's name, as the component declares it.
std::variant< Prop< std::string >, Prop< bool >, Prop< double > > value
 Its value: text for string, int, exact and json, which cross as text so that no value loses precision; a bool; or a number.

Detailed Description

One prop a loaded custom component is given.

Definition at line 1144 of file view.hpp.

Member Data Documentation

◆ name

std::string morph::ui::CustomProp::name

The prop's name, as the component declares it.

Definition at line 1146 of file view.hpp.

◆ value

std::variant<Prop<std::string>, Prop<bool>, Prop<double> > morph::ui::CustomProp::value

Its value: text for string, int, exact and json, which cross as text so that no value loses precision; a bool; or a number.

Definition at line 1149 of file view.hpp.


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