aboutsummaryrefslogtreecommitdiff
path: root/graphics/font.h
diff options
context:
space:
mode:
authorJohannes Schickel2016-03-20 21:38:26 +0100
committerJohannes Schickel2016-03-21 02:03:12 +0100
commitce1be463c2dfea61e74a816d6590a1a4506483d2 (patch)
treea9f1f70eacc783e818b6d7fa9e2c8431a60ed60d /graphics/font.h
parentc382e179084d52656de7379822d89a5fe97ca988 (diff)
downloadscummvm-rg350-ce1be463c2dfea61e74a816d6590a1a4506483d2.tar.gz
scummvm-rg350-ce1be463c2dfea61e74a816d6590a1a4506483d2.tar.bz2
scummvm-rg350-ce1be463c2dfea61e74a816d6590a1a4506483d2.zip
GRAPHICS: Implement convenience Font::drawChar taking ManagedSurface.
Diffstat (limited to 'graphics/font.h')
-rw-r--r--graphics/font.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/graphics/font.h b/graphics/font.h
index 62e71a8568..0478608708 100644
--- a/graphics/font.h
+++ b/graphics/font.h
@@ -142,6 +142,7 @@ public:
* @param color The color of the character.
*/
virtual void drawChar(Surface *dst, uint32 chr, int x, int y, uint32 color) const = 0;
+ void drawChar(ManagedSurface *dst, uint32 chr, int x, int y, uint32 color) const;
// TODO: Add doxygen comments to this
void drawString(Surface *dst, const Common::String &str, int x, int y, int w, uint32 color, TextAlign align = kTextAlignLeft, int deltax = 0, bool useEllipsis = true) const;