UiDocument is an asset now

This commit is contained in:
MihailRis
2024-02-09 09:59:36 +03:00
parent 241d15e349
commit 07adbd04ea
21 changed files with 402 additions and 304 deletions
+3 -1
View File
@@ -24,6 +24,7 @@ namespace gui {
UiXmlReader(const scripting::Environment& env);
void add(const std::string& tag, uinode_reader reader);
bool hasReader(const std::string& tag) const;
std::shared_ptr<UINode> readUINode(xml::xmlelement element);
@@ -36,7 +37,8 @@ namespace gui {
void readUINode(
UiXmlReader& reader,
xml::xmlelement element,
Container& container
Container& container,
bool ignoreUnknown=false
);
std::shared_ptr<UINode> readXML(