22 auto layer = special_node->get_attribute_value_or<std::string>(
"layer",
"ARTWORK");
26 defaulted.get_or_set_attribute_value(
"setAllAnchors",
"true");
30 tex->set_manually_inherited(
true);
35 special_node->bypass_access_check();
39 auto layer = special_node->get_attribute_value_or<std::string>(
"layer",
"BORDER");
43 defaulted.get_or_set_attribute_value(
"setAllAnchors",
"true");
47 tex->set_manually_inherited(
true);
52 special_node->bypass_access_check();
56 auto layer = special_node->get_attribute_value_or<std::string>(
"layer",
"BORDER");
60 defaulted.get_or_set_attribute_value(
"setAllAnchors",
"true");
64 tex->set_manually_inherited(
true);
69 special_node->bypass_access_check();
73 auto layer = special_node->get_attribute_value_or<std::string>(
"layer",
"HIGHLIGHT");
77 defaulted.get_or_set_attribute_value(
"setAllAnchors",
"true");
81 tex->set_manually_inherited(
true);
86 special_node->bypass_access_check();
90 auto layer = special_node->get_attribute_value_or<std::string>(
"layer",
"ARTWORK");
94 defaulted.get_or_set_attribute_value(
"setAllAnchors",
"true");
98 fstr->set_manually_inherited(
true);
103 special_node->bypass_access_check();
107 auto layer = special_node->get_attribute_value_or<std::string>(
"layer",
"HIGHLIGHT");
111 defaulted.get_or_set_attribute_value(
"setAllAnchors",
"true");
115 fstr->set_manually_inherited(
true);
120 special_node->bypass_access_check();
124 auto layer = special_node->get_attribute_value_or<std::string>(
"layer",
"BORDER");
128 defaulted.get_or_set_attribute_value(
"setAllAnchors",
"true");
132 fstr->set_manually_inherited(
true);
137 special_node->bypass_access_check();
144 vector2f(dimensions.second.x.value_or(0.0f), dimensions.second.y.value_or(0.0f)));
147 <<
"RelDimension for Button:PushedTextOffset is not yet supported. Skipped."