Resolution-dependence in XML files.

G1X scaler GUI now loads. Added layout for the launcher menu.
MILESTONE: All core GUI dialogs/widgets working on G2x/G3x
MILESTONE: Completely removed old Evaluator/Parser.
Improved layout expanding again.
Improved XML parser.
Several bugfixes.

svn-id: r33704
This commit is contained in:
Vicent Marti
2008-08-08 18:30:16 +00:00
parent 3ca6f76f7b
commit dab1fa0942
15 changed files with 212 additions and 71 deletions
+3 -2
View File
@@ -110,9 +110,10 @@ bool XMLParser::parseActiveKey(bool closed) {
return parserError("Missing required property '%s' inside key '%s'", i->name.c_str(), key->name.c_str());
}
if (key->layout->anyProps == false && localMap.empty() == false)
if (localMap.empty() == false)
return parserError("Unhandled property inside key '%s': '%s'", key->name.c_str(), localMap.begin()->_key.c_str());
} else if (layout->anyKeys == false) {
} else {
return parserError("Unexpected key in the active scope: '%s'.", key->name.c_str());
}