diff options
author | Denis Kasak | 2009-06-12 10:25:05 +0000 |
---|---|---|
committer | Denis Kasak | 2009-06-12 10:25:05 +0000 |
commit | 837f76f61f9e6c7d5c2788c673e8a93fa9700482 (patch) | |
tree | af83c7aae6b852ef40a535e45db0de821c28829a /engines/draci/font.h | |
parent | 32d12e90e3624e57d5f0eb1176f542ec44bd9ef8 (diff) | |
download | scummvm-rg350-837f76f61f9e6c7d5c2788c673e8a93fa9700482.tar.gz scummvm-rg350-837f76f61f9e6c7d5c2788c673e8a93fa9700482.tar.bz2 scummvm-rg350-837f76f61f9e6c7d5c2788c673e8a93fa9700482.zip |
Made DraciFont::drawString() take a String reference instead of a copy.
svn-id: r41472
Diffstat (limited to 'engines/draci/font.h')
-rw-r--r-- | engines/draci/font.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/draci/font.h b/engines/draci/font.h index d74951c783..b8c00af391 100644 --- a/engines/draci/font.h +++ b/engines/draci/font.h @@ -41,7 +41,7 @@ public: uint8 getMaxCharWidth() const { return _maxCharWidth; }; uint8 getCharWidth(byte chr) const; void drawChar(Graphics::Surface *dst, uint8 chr, int tx, int ty) const; - void drawString(Graphics::Surface *dst, Common::String str, + void drawString(Graphics::Surface *dst, Common::String &str, int x, int y, int spacing = 0) const; int getStringWidth(Common::String &str, int spacing = 0) const; |