aboutsummaryrefslogtreecommitdiff
path: root/gui/ThemeParser.h
diff options
context:
space:
mode:
authorVicent Marti2008-08-07 10:53:33 +0000
committerVicent Marti2008-08-07 10:53:33 +0000
commit21989844a9800fe76af93c6b2d70ffd76bf73546 (patch)
treead06bf78192552f820f8474e82fde31371343a29 /gui/ThemeParser.h
parent8cb26074bd8d5381d11cae9e9acb2da3df9d5387 (diff)
downloadscummvm-rg350-21989844a9800fe76af93c6b2d70ffd76bf73546.tar.gz
scummvm-rg350-21989844a9800fe76af93c6b2d70ffd76bf73546.tar.bz2
scummvm-rg350-21989844a9800fe76af93c6b2d70ffd76bf73546.zip
Game Options menu parsing.
Added support for importing layouts inside other layouts. Misc bugfixes. svn-id: r33676
Diffstat (limited to 'gui/ThemeParser.h')
-rw-r--r--gui/ThemeParser.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/gui/ThemeParser.h b/gui/ThemeParser.h
index 256d1d3770..999828e5db 100644
--- a/gui/ThemeParser.h
+++ b/gui/ThemeParser.h
@@ -437,17 +437,24 @@ protected:
XML_PROP(name, true)
XML_PROP(overlays, true)
XML_PROP(shading, false)
+ XML_PROP(enabled, false)
XML_KEY(layout)
XML_PROP(type, true)
XML_PROP(center, false)
XML_PROP(direction, false)
XML_PROP(padding, false)
XML_PROP(spacing, false)
+
+ XML_KEY(import)
+ XML_PROP(layout, true)
+ KEY_END()
+
XML_KEY(widget)
XML_PROP(name, true)
XML_PROP(width, false)
XML_PROP(height, false)
XML_PROP(type, false)
+ XML_PROP(enabled, false)
KEY_END()
XML_KEY(space)
@@ -481,6 +488,7 @@ protected:
bool parserCallback_child(ParserNode *node);
bool parserCallback_layout(ParserNode *node);
bool parserCallback_space(ParserNode *node);
+ bool parserCallback_import(ParserNode *node);
bool closedKeyCallback(ParserNode *node);