aboutsummaryrefslogtreecommitdiff
path: root/gui/ThemeParser.h
diff options
context:
space:
mode:
authorVicent Marti2008-06-26 19:54:55 +0000
committerVicent Marti2008-06-26 19:54:55 +0000
commit5534ce68a17aeeb0e1dff74297d85ff7af1b9f9e (patch)
tree0aec6a2467a3b1756705e7ed1e33c82b4a88030a /gui/ThemeParser.h
parent0cd183b94b7d24f9df8453ee126bceddc1dfd857 (diff)
downloadscummvm-rg350-5534ce68a17aeeb0e1dff74297d85ff7af1b9f9e.tar.gz
scummvm-rg350-5534ce68a17aeeb0e1dff74297d85ff7af1b9f9e.tar.bz2
scummvm-rg350-5534ce68a17aeeb0e1dff74297d85ff7af1b9f9e.zip
- MILESTONE: A widget is drawn on screen loaded straight from its XML description. Yippie.
- XMLParser: Bugfixes. - ThemeParser: Support for default color values. svn-id: r32808
Diffstat (limited to 'gui/ThemeParser.h')
-rw-r--r--gui/ThemeParser.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/gui/ThemeParser.h b/gui/ThemeParser.h
index 95d9135e12..2a7e0999d5 100644
--- a/gui/ThemeParser.h
+++ b/gui/ThemeParser.h
@@ -324,6 +324,7 @@ protected:
bool parserCallback_color();
bool parserCallback_renderInfo();
bool parserCallback_layoutInfo();
+ bool parserCallback_defaultSet();
bool validateKeyIntSigned(const char *key) {
@@ -345,6 +346,11 @@ protected:
}
Graphics::DrawStep *newDrawStep();
+ Graphics::DrawStep *defaultDrawStep();
+ bool parseDrawStep(ParserNode *stepNode, Graphics::DrawStep *drawstep, bool functionSpecific);
+
+ Graphics::DrawStep *_defaultStepGlobal;
+ Graphics::DrawStep *_defaultStepLocal;
Common::HashMap<Common::String, DrawingFunctionCallback, Common::IgnoreCase_Hash, Common::IgnoreCase_EqualTo> _drawFunctions;
Common::HashMap<Common::String, ParserCallback, Common::IgnoreCase_Hash, Common::IgnoreCase_EqualTo> _callbacks;