aboutsummaryrefslogtreecommitdiff
path: root/graphics/font.h
diff options
context:
space:
mode:
authorPaul Gilbert2018-11-09 19:26:34 -0800
committerPaul Gilbert2018-11-14 19:00:17 -0800
commite5b73b28998330af5ed0062b2ae4d49655246e93 (patch)
tree20e49611d2ff269ce5df4b1e0090e23f9acca336 /graphics/font.h
parentc1bd6a250d728912b5cacdbdd247f6107d18c6ad (diff)
downloadscummvm-rg350-e5b73b28998330af5ed0062b2ae4d49655246e93.tar.gz
scummvm-rg350-e5b73b28998330af5ed0062b2ae4d49655246e93.tar.bz2
scummvm-rg350-e5b73b28998330af5ed0062b2ae4d49655246e93.zip
GRAPHICS: Add deltax optional parameter to Font drawString U32String version
Diffstat (limited to 'graphics/font.h')
-rw-r--r--graphics/font.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/graphics/font.h b/graphics/font.h
index 6682ce015b..48330dedfa 100644
--- a/graphics/font.h
+++ b/graphics/font.h
@@ -146,9 +146,9 @@ 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(Surface *dst, const Common::U32String &str, int x, int y, int w, uint32 color, TextAlign align = kTextAlignLeft, int deltax = 0) 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;
+ void drawString(ManagedSurface *dst, const Common::U32String &str, int x, int y, int w, uint32 color, TextAlign align = kTextAlignLeft, int deltax = 0) const;
/**
* Compute and return the width the string str has when rendered using this font.