diff options
author | Paul Gilbert | 2016-03-10 21:49:42 -0500 |
---|---|---|
committer | Paul Gilbert | 2016-03-14 20:56:14 -0400 |
commit | 433a2daa6a42b4cca3a715d4461a893be17ef61a (patch) | |
tree | 3d25b77546baa5928bad022d6cd4f4fc7706cf98 /graphics/font.h | |
parent | 7105fb23a84f6464149ab031a6eff3ce69bffdff (diff) | |
download | scummvm-rg350-433a2daa6a42b4cca3a715d4461a893be17ef61a.tar.gz scummvm-rg350-433a2daa6a42b4cca3a715d4461a893be17ef61a.tar.bz2 scummvm-rg350-433a2daa6a42b4cca3a715d4461a893be17ef61a.zip |
GRAPHICS: Added ManagedSurface and Screen classes
Diffstat (limited to 'graphics/font.h')
-rw-r--r-- | graphics/font.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/graphics/font.h b/graphics/font.h index 35f6792d7f..62e71a8568 100644 --- a/graphics/font.h +++ b/graphics/font.h @@ -34,6 +34,7 @@ template<class T> class Array; namespace Graphics { struct Surface; +class ManagedSurface; /** Text alignment modes */ enum TextAlign { @@ -145,6 +146,8 @@ public: // 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; void drawString(Surface *dst, const Common::U32String &str, int x, int y, int w, uint32 color, TextAlign align = kTextAlignLeft) const; + void drawString(ManagedSurface *dst, const Common::String &str, int x, int y, int w, uint32 color, TextAlign align = kTextAlignLeft, int deltax = 0, bool useEllipsis = true) const; + void drawString(ManagedSurface *dst, const Common::U32String &str, int x, int y, int w, uint32 color, TextAlign align = kTextAlignLeft) const; /** * Compute and return the width the string str has when rendered using this font. |