diff options
author | Johannes Schickel | 2009-08-10 13:46:17 +0000 |
---|---|---|
committer | Johannes Schickel | 2009-08-10 13:46:17 +0000 |
commit | f812d0e7b744910e9df5525f71238078794a8fab (patch) | |
tree | 3e8e4687ed4180853b913f15de33aaef62e136f9 /gui/ThemeParser.h | |
parent | 44cfd9d615216c479293187b6ad1fcae3c851fba (diff) | |
download | scummvm-rg350-f812d0e7b744910e9df5525f71238078794a8fab.tar.gz scummvm-rg350-f812d0e7b744910e9df5525f71238078794a8fab.tar.bz2 scummvm-rg350-f812d0e7b744910e9df5525f71238078794a8fab.zip |
Made font color configuration independend from font style configuration.
svn-id: r43205
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 e261b6b842..7cfe2abfd5 100644 --- a/gui/ThemeParser.h +++ b/gui/ThemeParser.h @@ -67,9 +67,13 @@ protected: XML_KEY(font) XML_PROP(id, true) XML_PROP(file, true) - XML_PROP(color, true) XML_PROP(resolution, false) KEY_END() + + XML_KEY(text_color) + XML_PROP(id, true); + XML_PROP(color, true); + KEY_END() KEY_END() XML_KEY(bitmaps) @@ -143,6 +147,7 @@ protected: XML_KEY(text) XML_PROP(font, true) + XML_PROP(font_color, true) XML_PROP(vertical_align, true) XML_PROP(horizontal_align, true) KEY_END() @@ -211,6 +216,7 @@ protected: bool parserCallback_render_info(ParserNode *node); bool parserCallback_defaults(ParserNode *node); bool parserCallback_font(ParserNode *node); + bool parserCallback_text_color(ParserNode *node); bool parserCallback_fonts(ParserNode *node); bool parserCallback_text(ParserNode *node); bool parserCallback_palette(ParserNode *node); |