diff options
author | Einar Johan Trøan Sømåen | 2012-06-26 13:43:16 +0200 |
---|---|---|
committer | Einar Johan Trøan Sømåen | 2012-06-26 13:43:16 +0200 |
commit | b46750869c72df19d29b5cad4aac483b0046afc2 (patch) | |
tree | 8fa4d91c5f7159b898c77ccc7bb45a442acdd86b /engines/wintermute/Base/BFont.h | |
parent | e1597f38ff1eec5aa3cbbbe78bda069decdd14c6 (diff) | |
download | scummvm-rg350-b46750869c72df19d29b5cad4aac483b0046afc2.tar.gz scummvm-rg350-b46750869c72df19d29b5cad4aac483b0046afc2.tar.bz2 scummvm-rg350-b46750869c72df19d29b5cad4aac483b0046afc2.zip |
WINTERMUTE: Rename FuncName->funcName in the Font-classes.
Diffstat (limited to 'engines/wintermute/Base/BFont.h')
-rw-r--r-- | engines/wintermute/Base/BFont.h | 16 |
1 files changed, 8 insertions, 8 deletions
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
|