aboutsummaryrefslogtreecommitdiff
path: root/graphics/VectorRendererSpec.cpp
diff options
context:
space:
mode:
authorMax Horn2008-11-12 14:30:16 +0000
committerMax Horn2008-11-12 14:30:16 +0000
commitc0f82d351894df16e23690b4361e66bed0fb6f84 (patch)
treef6ddb6d08e8dbe0637a5e5dcfb13d4a4fa5c21c0 /graphics/VectorRendererSpec.cpp
parent144be21bed1001c4a72739ef7656908cbf71e909 (diff)
downloadscummvm-rg350-c0f82d351894df16e23690b4361e66bed0fb6f84.tar.gz
scummvm-rg350-c0f82d351894df16e23690b4361e66bed0fb6f84.tar.bz2
scummvm-rg350-c0f82d351894df16e23690b4361e66bed0fb6f84.zip
Renamed Graphics::TextAlignment -> Graphics::TextAlign and merged it with GUI::ThemeEngine::TextAlignVertical
svn-id: r35023
Diffstat (limited to 'graphics/VectorRendererSpec.cpp')
-rw-r--r--graphics/VectorRendererSpec.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/graphics/VectorRendererSpec.cpp b/graphics/VectorRendererSpec.cpp
index 675acd7ad3..2924e2b1b7 100644
--- a/graphics/VectorRendererSpec.cpp
+++ b/graphics/VectorRendererSpec.cpp
@@ -449,7 +449,7 @@ colorFill(PixelType *first, PixelType *last, PixelType color) {
template <typename PixelType, typename PixelFormat>
void VectorRendererSpec<PixelType, PixelFormat>::
drawString(const Graphics::Font *font, const Common::String &text, const Common::Rect &area,
- GUI::ThemeEngine::TextAlign alignH, GUI::ThemeEngine::TextAlignVertical alignV, int deltax, bool ellipsis) {
+ Graphics::TextAlign alignH, GUI::ThemeEngine::TextAlignVertical alignV, int deltax, bool ellipsis) {
int offset = area.top;
@@ -466,7 +466,7 @@ drawString(const Graphics::Font *font, const Common::String &text, const Common:
}
}
- font->drawString(_activeSurface, text, area.left, offset, area.width(), _fgColor, (Graphics::TextAlignment)alignH, deltax, ellipsis);
+ font->drawString(_activeSurface, text, area.left, offset, area.width(), _fgColor, alignH, deltax, ellipsis);
}
/** LINES **/