settings menu update + UINode 'enabled' property
This commit is contained in:
@@ -87,6 +87,9 @@ static void _readUINode(UiXmlReader& reader, xml::xmlelement element, UINode& no
|
||||
if (element->has("visible")) {
|
||||
node.setVisible(element->attr("visible").asBool());
|
||||
}
|
||||
if (element->has("enabled")) {
|
||||
node.setEnabled(element->attr("enabled").asBool());
|
||||
}
|
||||
if (element->has("position-func")) {
|
||||
node.setPositionFunc(scripting::create_vec2_supplier(
|
||||
reader.getEnvironment(),
|
||||
|
||||
Reference in New Issue
Block a user