diff options
author | Willem Jan Palenstijn | 2013-04-15 20:44:41 +0200 |
---|---|---|
committer | Willem Jan Palenstijn | 2013-04-15 20:44:41 +0200 |
commit | 250967a63f8583f577601e8eacadb3ec6111514e (patch) | |
tree | c04a70a178ed5901c94bdbb20ae43847437d8b63 /engines/wintermute/base/font/base_font_truetype.h | |
parent | d4982381d2e0c9e4cc6e774f0303a230ccda5ea2 (diff) | |
download | scummvm-rg350-250967a63f8583f577601e8eacadb3ec6111514e.tar.gz scummvm-rg350-250967a63f8583f577601e8eacadb3ec6111514e.tar.bz2 scummvm-rg350-250967a63f8583f577601e8eacadb3ec6111514e.zip |
WINTERMUTE: Fix warnings and improve const-correctness
Diffstat (limited to 'engines/wintermute/base/font/base_font_truetype.h')
-rw-r--r-- | engines/wintermute/base/font/base_font_truetype.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/wintermute/base/font/base_font_truetype.h b/engines/wintermute/base/font/base_font_truetype.h index ba4aac9380..c9ac4cd993 100644 --- a/engines/wintermute/base/font/base_font_truetype.h +++ b/engines/wintermute/base/font/base_font_truetype.h @@ -100,8 +100,8 @@ public: BaseFontTT(BaseGame *inGame); virtual ~BaseFontTT(void); - virtual int getTextWidth(byte *text, int maxLength = -1); - virtual int getTextHeight(byte *text, int width); + virtual int getTextWidth(const byte *text, int maxLength = -1); + virtual int getTextHeight(const byte *text, int width); virtual void drawText(const byte *text, int x, int y, int width, TTextAlign align = TAL_LEFT, int max_height = -1, int maxLength = -1); virtual int getLetterHeight(); |