diff options
author | Vicent Marti | 2008-08-08 18:30:16 +0000 |
---|---|---|
committer | Vicent Marti | 2008-08-08 18:30:16 +0000 |
commit | dab1fa0942cffa82c1944170774b659b8bcfb6b2 (patch) | |
tree | 443690e96619facaa839d57c45e7f094d8d356fd /gui/ThemeParser.h | |
parent | 3ca6f76f7be2ef8c982c83ed0c1a1da633033c35 (diff) | |
download | scummvm-rg350-dab1fa0942cffa82c1944170774b659b8bcfb6b2.tar.gz scummvm-rg350-dab1fa0942cffa82c1944170774b659b8bcfb6b2.tar.bz2 scummvm-rg350-dab1fa0942cffa82c1944170774b659b8bcfb6b2.zip |
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
Diffstat (limited to 'gui/ThemeParser.h')
-rw-r--r-- | gui/ThemeParser.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/gui/ThemeParser.h b/gui/ThemeParser.h index ad7f2b36be..bae015cf25 100644 --- a/gui/ThemeParser.h +++ b/gui/ThemeParser.h @@ -331,7 +331,6 @@ protected: ThemeRenderer *_theme; CUSTOM_XML_PARSER(ThemeParser) { - XML_KEY(render_info) XML_KEY(palette) XML_KEY(color) @@ -345,6 +344,7 @@ protected: XML_PROP(id, true) XML_PROP(file, true) XML_PROP(color, true) + XML_PROP(resolution, false) KEY_END() KEY_END() @@ -365,6 +365,7 @@ protected: XML_KEY(drawdata) XML_PROP(id, true) XML_PROP(cache, false) + XML_PROP(resolution, false) XML_KEY(defaults) XML_PROP(stroke, false) @@ -417,6 +418,7 @@ protected: XML_KEY(def) XML_PROP(var, true) XML_PROP(value, true) + XML_PROP(resolution, false) KEY_END() XML_KEY(widget) @@ -424,6 +426,7 @@ protected: XML_PROP(size, false) XML_PROP(pos, false) XML_PROP(padding, false) + XML_PROP(resolution, false) XML_KEY(child) XML_PROP(name, true) @@ -438,6 +441,7 @@ protected: XML_PROP(overlays, true) XML_PROP(shading, false) XML_PROP(enabled, false) + XML_PROP(resolution, false) XML_KEY(layout) XML_PROP(type, true) XML_PROP(center, false) @@ -492,6 +496,8 @@ protected: bool closedKeyCallback(ParserNode *node); + bool resolutionCheck(const Common::String &resolution); + void cleanup(); Graphics::DrawStep *newDrawStep(); |