aboutsummaryrefslogtreecommitdiff
path: root/engines/wintermute/Base/BFontBitmap.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/wintermute/Base/BFontBitmap.h')
-rw-r--r--engines/wintermute/Base/BFontBitmap.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/wintermute/Base/BFontBitmap.h b/engines/wintermute/Base/BFontBitmap.h
index aba1690db5..3cd0d91e77 100644
--- a/engines/wintermute/Base/BFontBitmap.h
+++ b/engines/wintermute/Base/BFontBitmap.h
@@ -37,8 +37,8 @@ class CBSubFrame;
class CBFontBitmap : public CBFont {
public:
DECLARE_PERSISTENT(CBFontBitmap, CBFont)
- HRESULT loadBuffer(byte *Buffer);
- HRESULT loadFile(const char *filename);
+ ERRORCODE loadBuffer(byte *Buffer);
+ ERRORCODE loadFile(const char *filename);
virtual int getTextWidth(byte *text, int maxLength = -1);
virtual int getTextHeight(byte *text, int width);
virtual void drawText(byte *text, int x, int y, int width, TTextAlign align = TAL_LEFT, int max_height = -1, int maxLength = -1);
@@ -48,7 +48,7 @@ public:
virtual ~CBFontBitmap();
- HRESULT getWidths();
+ ERRORCODE getWidths();
CBSprite *_sprite;
int _widthsFrame;
bool _fontextFix;