From 707a01cb38eb671f2fad29016f11268f8fab9084 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Mon, 25 Aug 2014 00:01:18 -0400 Subject: ACCESS: Change font method parameter types --- engines/access/font.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engines/access/font.cpp') 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 -- cgit v1.2.3