Output source option of Value & Gauge widgets in a symbolic way

This commit is contained in:
Raphael Coeffic
2021-11-10 11:07:03 +01:00
parent cc0af82506
commit c2056c7585
13 changed files with 92 additions and 6 deletions
@@ -84,6 +84,7 @@ const struct YamlIdStr enum_ZoneOptionValueEnum[] = {
{ ZOV_Signed, "Signed" },
{ ZOV_Bool, "Bool" },
{ ZOV_String, "String" },
{ ZOV_Source, "Source" },
{ 0, NULL }
};
const struct YamlIdStr enum_TimerModes[] = {
@@ -334,6 +335,7 @@ static const struct YamlNode union_ZoneOptionValue_elmts[] = {
YAML_SIGNED( "signedValue", 32 ),
YAML_UNSIGNED( "boolValue", 32 ),
YAML_STRING("stringValue", 8),
YAML_CUSTOM("source",r_zov_source,w_zov_source),
YAML_END
};
static const struct YamlNode struct_ZoneOptionValueTyped[] = {