X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fgraphics%2FFont.h;fp=src%2Fgraphics%2FFont.h;h=6a8a5c23c11e500e73969aecb9198550d6ce0b5e;hb=9648fd7d258ae1a2baccb8dd5b6f7a9491e55803;hp=b981946642925a10980d48532a89d9d3065afb05;hpb=67817384452d1d8955169c0dc648774e71ea3abe;p=l2e.git diff --git a/src/graphics/Font.h b/src/graphics/Font.h index b981946..6a8a5c2 100644 --- a/src/graphics/Font.h +++ b/src/graphics/Font.h @@ -30,8 +30,8 @@ public: int CharWidth() const { return sprite->Width(); } int CharHeight() const { return sprite->Height(); } void DrawChar(char c, SDL_Surface *dest, const geometry::Vector &position) const; - void DrawString(const char *s, SDL_Surface *dest, const geometry::Vector &position, int maxChars = 0) const; - void DrawStringRight(const char *s, SDL_Surface *dest, const geometry::Vector &position, int maxChars = 0) const; + void DrawString(const char *s, SDL_Surface *dest, const geometry::Vector &position, int maxWidth = 0) const; + void DrawStringRight(const char *s, SDL_Surface *dest, const geometry::Vector &position, int maxWidth = 0) const; void DrawDigit(int d, SDL_Surface *dest, const geometry::Vector &position) const; void DrawNumber(int n, SDL_Surface *dest, const geometry::Vector &position, int digits = 0) const; void DrawNumberRight(int n, SDL_Surface *dest, const geometry::Vector &position, int digits = 0) const;