From b46750869c72df19d29b5cad4aac483b0046afc2 Mon Sep 17 00:00:00 2001 From: Einar Johan Trøan Sømåen Date: Tue, 26 Jun 2012 13:43:16 +0200 Subject: WINTERMUTE: Rename FuncName->funcName in the Font-classes. --- engines/wintermute/Base/BFont.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'engines/wintermute/Base/BFont.h') diff --git a/engines/wintermute/Base/BFont.h b/engines/wintermute/Base/BFont.h index 7a115517da..a8d613b92e 100644 --- a/engines/wintermute/Base/BFont.h +++ b/engines/wintermute/Base/BFont.h @@ -38,22 +38,22 @@ namespace WinterMute { class CBFont: public CBObject { public: DECLARE_PERSISTENT(CBFont, CBObject) - virtual int GetTextWidth(byte *text, int MaxLenght = -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 MaxLenght = -1); - virtual int GetLetterHeight(); + virtual int getTextWidth(byte *text, int MaxLenght = -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 MaxLenght = -1); + virtual int getLetterHeight(); - virtual void InitLoop() {}; - virtual void AfterLoad() {}; + virtual void initLoop() {}; + virtual void afterLoad() {}; CBFont(CBGame *inGame); virtual ~CBFont(); - static CBFont *CreateFromFile(CBGame *Game, const char *Filename); + static CBFont *createFromFile(CBGame *Game, const char *Filename); private: //HRESULT loadBuffer(byte * Buffer); //HRESULT loadFile(const char* Filename); - static bool IsTrueType(CBGame *Game, const char *Filename); + static bool isTrueType(CBGame *Game, const char *Filename); }; } // end of namespace WinterMute -- cgit v1.2.3