aboutsummaryrefslogtreecommitdiff
path: root/engines/access/font.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2014-08-25 00:01:18 -0400
committerPaul Gilbert2014-08-25 00:01:18 -0400
commit707a01cb38eb671f2fad29016f11268f8fab9084 (patch)
treefd37837a0357a0dccbed8a5950d8cf55b5fc42af /engines/access/font.cpp
parent89993e128fe15efd16fdf89696682f0e24cb8593 (diff)
downloadscummvm-rg350-707a01cb38eb671f2fad29016f11268f8fab9084.tar.gz
scummvm-rg350-707a01cb38eb671f2fad29016f11268f8fab9084.tar.bz2
scummvm-rg350-707a01cb38eb671f2fad29016f11268f8fab9084.zip
ACCESS: Change font method parameter types
Diffstat (limited to 'engines/access/font.cpp')
-rw-r--r--engines/access/font.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/access/font.cpp b/engines/access/font.cpp
index d5ad3b3d24..75add4129c 100644
--- a/engines/access/font.cpp
+++ b/engines/access/font.cpp
@@ -131,7 +131,7 @@ bool Font::getLine(Common::String &s, int maxWidth, Common::String &line, int &w
return true;
}
-void Font::drawString(Graphics::Surface *s, const Common::String &msg, const Common::Point &pt) {
+void Font::drawString(ASurface *s, const Common::String &msg, const Common::Point &pt) {
Common::Point currPt = pt;
const char *msgP = msg.c_str();
@@ -141,7 +141,7 @@ void Font::drawString(Graphics::Surface *s, const Common::String &msg, const Com
}
}
-int Font::drawChar(Graphics::Surface *s, char c, Common::Point &pt) {
+int Font::drawChar(ASurface *s, char c, Common::Point &pt) {
Graphics::Surface &ch = _chars[c - ' '];
// Loop through the lines of the character