From d385c34dd0c52ccc4c7fff50e88361dbb2cd588d Mon Sep 17 00:00:00 2001 From: Vicent Marti Date: Wed, 2 Jul 2008 18:11:41 +0000 Subject: InterfaceManager functionality translated into a Theme subclass "ThemeRenderer" to easen integration with the current GUI. svn-id: r32876 --- graphics/VectorRenderer.cpp | 6 +++--- graphics/VectorRenderer.h | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'graphics') diff --git a/graphics/VectorRenderer.cpp b/graphics/VectorRenderer.cpp index 1f8ec3c397..f679d2fe67 100644 --- a/graphics/VectorRenderer.cpp +++ b/graphics/VectorRenderer.cpp @@ -30,17 +30,17 @@ #include "graphics/surface.h" #include "graphics/colormasks.h" -#include "gui/InterfaceManager.h" +#include "gui/ThemeRenderer.h" #include "graphics/VectorRenderer.h" namespace Graphics { VectorRenderer *createRenderer(int mode) { switch (mode) { - case GUI::InterfaceManager::kGfxStandard16bit: + case GUI::ThemeRenderer::kGfxStandard16bit: return new VectorRendererSpec >; - case GUI::InterfaceManager::kGfxAntialias16bit: + case GUI::ThemeRenderer::kGfxAntialias16bit: return new VectorRendererAA >; default: diff --git a/graphics/VectorRenderer.h b/graphics/VectorRenderer.h index 9b2e6cd383..3267d44687 100644 --- a/graphics/VectorRenderer.h +++ b/graphics/VectorRenderer.h @@ -32,7 +32,7 @@ #include "graphics/surface.h" #include "graphics/colormasks.h" -#include "gui/InterfaceManager.h" +#include "gui/ThemeRenderer.h" namespace Graphics { -- cgit v1.2.3