aboutsummaryrefslogtreecommitdiff
path: root/common/xmlparser.h
diff options
context:
space:
mode:
authorVicent Marti2008-08-09 18:34:16 +0000
committerVicent Marti2008-08-09 18:34:16 +0000
commit103a4f66813df8f806467ad6f27cd0831ae0abf4 (patch)
tree7f09914cd0a658d2301e567d544826eb0a347877 /common/xmlparser.h
parentea69217a136210347689e9536d67e1dda883f45a (diff)
downloadscummvm-rg350-103a4f66813df8f806467ad6f27cd0831ae0abf4.tar.gz
scummvm-rg350-103a4f66813df8f806467ad6f27cd0831ae0abf4.tar.bz2
scummvm-rg350-103a4f66813df8f806467ad6f27cd0831ae0abf4.zip
Added support for image loading/blitting.
Added support for loading theme files. (Make sure to grab the sample theme "scummodern.zip" from the gui/themes/ directory to try it out) Misc fixes. svn-id: r33718
Diffstat (limited to 'common/xmlparser.h')
-rw-r--r--common/xmlparser.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/common/xmlparser.h b/common/xmlparser.h
index b7a7093bc5..e3d39bfb82 100644
--- a/common/xmlparser.h
+++ b/common/xmlparser.h
@@ -371,6 +371,12 @@ public:
_fileName = "Memory Stream";
return true;
}
+
+ bool loadStream(MemoryReadStream *stream) {
+ _text.loadStream(stream);
+ _fileName = "Compressed File Stream";
+ return true;
+ }
/**
* The actual parsing function.