Massive refactoring/cleanup on the theme engine/parser.

svn-id: r34285
This commit is contained in:
Vicent Marti 2008-09-02 17:51:08 +00:00
parent 83cc4e1c92
commit dcc72fe29e
18 changed files with 836 additions and 712 deletions

View file

@ -30,7 +30,7 @@
#include "common/hash-str.h"
#include "common/xmlparser.h"
#include "gui/ThemeRenderer.h"
#include "gui/ThemeEngine.h"
#include "gui/ThemeParser.h"
#include "gui/newgui.h"
#include "graphics/VectorRenderer.h"
@ -40,7 +40,7 @@ namespace GUI {
using namespace Graphics;
using namespace Common;
ThemeParser::ThemeParser(ThemeRenderer *parent) : XMLParser() {
ThemeParser::ThemeParser(ThemeEngine *parent) : XMLParser() {
_drawFunctions["circle"] = &Graphics::VectorRenderer::drawCallback_CIRCLE;
_drawFunctions["square"] = &Graphics::VectorRenderer::drawCallback_SQUARE;