diff options
author | Paul Gilbert | 2016-05-26 21:21:03 -0400 |
---|---|---|
committer | Paul Gilbert | 2016-05-26 21:21:03 -0400 |
commit | ac8adb07c835885584517674b9b03bab14e8a772 (patch) | |
tree | 1d35a5a75c2d3001a4f707040e010cfcc0c6aa04 /engines/access/font.cpp | |
parent | 741e26cfd2c9484bd4ae4698c9ba0f5925be2b38 (diff) | |
download | scummvm-rg350-ac8adb07c835885584517674b9b03bab14e8a772.tar.gz scummvm-rg350-ac8adb07c835885584517674b9b03bab14e8a772.tar.bz2 scummvm-rg350-ac8adb07c835885584517674b9b03bab14e8a772.zip |
ACCESS: Refactor ASurface and Screen to not use virtual inheritance
Diffstat (limited to 'engines/access/font.cpp')
-rw-r--r-- | engines/access/font.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/access/font.cpp b/engines/access/font.cpp index 6ae65e43f0..8e02f80769 100644 --- a/engines/access/font.cpp +++ b/engines/access/font.cpp @@ -139,7 +139,7 @@ bool Font::getLine(Common::String &s, int maxWidth, Common::String &line, int &w return true; } -void Font::drawString(ASurface *s, const Common::String &msg, const Common::Point &pt) { +void Font::drawString(BaseSurface *s, const Common::String &msg, const Common::Point &pt) { Common::Point currPt = pt; const char *msgP = msg.c_str(); @@ -149,7 +149,7 @@ void Font::drawString(ASurface *s, const Common::String &msg, const Common::Poin } } -int Font::drawChar(ASurface *s, char c, Common::Point &pt) { +int Font::drawChar(BaseSurface *s, char c, Common::Point &pt) { Graphics::Surface &ch = _chars[c - ' ']; Graphics::Surface dest = s->getSubArea(Common::Rect(pt.x, pt.y, pt.x + ch.w, pt.y + ch.h)); |