diff options
author | Vicent Marti | 2008-06-26 19:54:55 +0000 |
---|---|---|
committer | Vicent Marti | 2008-06-26 19:54:55 +0000 |
commit | 5534ce68a17aeeb0e1dff74297d85ff7af1b9f9e (patch) | |
tree | 0aec6a2467a3b1756705e7ed1e33c82b4a88030a /gui/ThemeParser.h | |
parent | 0cd183b94b7d24f9df8453ee126bceddc1dfd857 (diff) | |
download | scummvm-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.h | 6 |
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; |