diff options
author | Vicent Marti | 2008-07-02 18:11:41 +0000 |
---|---|---|
committer | Vicent Marti | 2008-07-02 18:11:41 +0000 |
commit | d385c34dd0c52ccc4c7fff50e88361dbb2cd588d (patch) | |
tree | ce1a73453fb8d76a84bfa9f068c05555c6a47d3e /graphics | |
parent | 6c85e960b202ea8cb3af87c7d3c644690f51e511 (diff) | |
download | scummvm-rg350-d385c34dd0c52ccc4c7fff50e88361dbb2cd588d.tar.gz scummvm-rg350-d385c34dd0c52ccc4c7fff50e88361dbb2cd588d.tar.bz2 scummvm-rg350-d385c34dd0c52ccc4c7fff50e88361dbb2cd588d.zip |
InterfaceManager functionality translated into a Theme subclass "ThemeRenderer" to easen integration with the current GUI.
svn-id: r32876
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/VectorRenderer.cpp | 6 | ||||
-rw-r--r-- | graphics/VectorRenderer.h | 2 |
2 files changed, 4 insertions, 4 deletions
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<uint16, ColorMasks<565> >; - case GUI::InterfaceManager::kGfxAntialias16bit: + case GUI::ThemeRenderer::kGfxAntialias16bit: return new VectorRendererAA<uint16, ColorMasks<565> >; 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 { |