diff options
author | Vicent Marti | 2008-08-10 17:22:12 +0000 |
---|---|---|
committer | Vicent Marti | 2008-08-10 17:22:12 +0000 |
commit | 8a31616f46d64a1972692f8d7cd8559231a53424 (patch) | |
tree | f8a3df07f126163c202cae8cc045df4e33b73815 /gui/ThemeParser.h | |
parent | b48d9e9f2053a79cf3d7c06184a2331370997d62 (diff) | |
download | scummvm-rg350-8a31616f46d64a1972692f8d7cd8559231a53424.tar.gz scummvm-rg350-8a31616f46d64a1972692f8d7cd8559231a53424.tar.bz2 scummvm-rg350-8a31616f46d64a1972692f8d7cd8559231a53424.zip |
Bitmap cursor loading from XML files.
svn-id: r33760
Diffstat (limited to 'gui/ThemeParser.h')
-rw-r--r-- | gui/ThemeParser.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/gui/ThemeParser.h b/gui/ThemeParser.h index b9fa69179d..905795f8ed 100644 --- a/gui/ThemeParser.h +++ b/gui/ThemeParser.h @@ -361,6 +361,13 @@ protected: XML_PROP(resolution, false) KEY_END() KEY_END() + + XML_KEY(cursor) + XML_PROP(file, true) + XML_PROP(hotspot, true) + XML_PROP(scale, true) + XML_PROP(resolution, false) + KEY_END() XML_KEY(defaults) XML_PROP(stroke, false) @@ -499,6 +506,8 @@ protected: bool parserCallback_drawdata(ParserNode *node); bool parserCallback_bitmaps(ParserNode *node) { return true; } bool parserCallback_bitmap(ParserNode *node); + bool parserCallback_cursor(ParserNode *node); + /** Layout info callbacks */ bool parserCallback_layout_info(ParserNode *node); |