diff options
Diffstat (limited to 'engines/wintermute/base/font/base_font.h')
-rw-r--r-- | engines/wintermute/base/font/base_font.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/wintermute/base/font/base_font.h b/engines/wintermute/base/font/base_font.h index 0abe62ab98..50587fa7eb 100644 --- a/engines/wintermute/base/font/base_font.h +++ b/engines/wintermute/base/font/base_font.h @@ -38,8 +38,8 @@ namespace Wintermute { class BaseFont: public BaseObject { public: DECLARE_PERSISTENT(BaseFont, BaseObject) - 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(); |