InterfaceManager now loads themes.

svn-id: r32800
This commit is contained in:
Vicent Marti 2008-06-26 13:50:16 +00:00
parent 3ae28530ef
commit 0cd183b94b
10 changed files with 116 additions and 70 deletions

View file

@ -34,25 +34,6 @@ namespace Common {
using namespace Graphics;
void XMLParser::debug_testEval() {
static const char *debugConfigText =
"<render_info>\n"
"<palette>\n"
"<color name = \"red\" rgb = \"255, 255, 255\"/>\n"
"</palette>\n"
"<drawdata id = \"mainmenu_bg\" cache = true>\n"
"<drawstep func = \"roundedsq\" radius = 23 fill = \"none\" color = \"0, 1, 2\" size = \"auto\" />\n"
"<drawstep func = \"roundedsq\" radius = 15 fill = \"none\" color = \"red\" size = \"auto\"/>\n"
"</drawdata>/* lol this is just a simple test*/\n"
"</render_info>";
loadBuffer(debugConfigText);
_fileName = "test_parse.xml";
parse();
}
bool XMLParser::parserError(const char *errorString, ...) {
_state = kParserError;