X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fgraphics%2FFont.h;fp=src%2Fgraphics%2FFont.h;h=b981946642925a10980d48532a89d9d3065afb05;hb=c591893775d3b850d0a88e743c09c91db337fbdc;hp=07cd35f0a5f32867e33487fbb082b578d589478d;hpb=ec0841bce8db9b1419dfbbb03ceff9c8502ab755;p=l2e.git diff --git a/src/graphics/Font.h b/src/graphics/Font.h index 07cd35f..b981946 100644 --- a/src/graphics/Font.h +++ b/src/graphics/Font.h @@ -31,8 +31,10 @@ public: 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 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; public: void SetSprite(const Sprite *s) { sprite = s; }