aboutsummaryrefslogtreecommitdiff
path: root/engines/wintermute/base/font/base_font.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/wintermute/base/font/base_font.h')
-rw-r--r--engines/wintermute/base/font/base_font.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/engines/wintermute/base/font/base_font.h b/engines/wintermute/base/font/base_font.h
index 3df3090bb9..695bce2af3 100644
--- a/engines/wintermute/base/font/base_font.h
+++ b/engines/wintermute/base/font/base_font.h
@@ -35,9 +35,9 @@
namespace WinterMute {
-class CBFont: public CBObject {
+class BaseFont: public BaseObject {
public:
- DECLARE_PERSISTENT(CBFont, CBObject)
+ DECLARE_PERSISTENT(BaseFont, BaseObject)
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);
@@ -45,15 +45,15 @@ public:
virtual void initLoop() {};
virtual void afterLoad() {};
- CBFont(CBGame *inGame);
- virtual ~CBFont();
+ BaseFont(BaseGame *inGame);
+ virtual ~BaseFont();
- static CBFont *createFromFile(CBGame *game, const char *filename);
+ static BaseFont *createFromFile(BaseGame *game, const char *filename);
private:
//bool loadBuffer(byte * Buffer);
//bool loadFile(const char* Filename);
- static bool isTrueType(CBGame *game, const char *filename);
+ static bool isTrueType(BaseGame *game, const char *filename);
};
} // end of namespace WinterMute