aboutsummaryrefslogtreecommitdiff
path: root/engines
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
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')
-rw-r--r--engines/access/font.cpp4
-rw-r--r--engines/access/font.h4
2 files changed, 4 insertions, 4 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
diff --git a/engines/access/font.h b/engines/access/font.h
index 2c9ffd0f34..a32dd6b695 100644
--- a/engines/access/font.h
+++ b/engines/access/font.h
@@ -78,12 +78,12 @@ public:
/**
* Draw a string on a given surface
*/
- void drawString(Graphics::Surface *s, const Common::String &msg, const Common::Point &pt);
+ void drawString(ASurface *s, const Common::String &msg, const Common::Point &pt);
/**
* Draw a character on a given surface
*/
- int drawChar(Graphics::Surface *s, char c, Common::Point &pt);
+ int drawChar(ASurface *s, char c, Common::Point &pt);
};
class FontManager {