X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fgraphics%2FFont.h;h=272b09fa857144e7e9acb6c9a6df824f9e162cf9;hb=a3ba4dc677ad7c92eeb78b20b642241563605c9d;hp=c879dcedf73e4fc8a6803cac9651e1e7c0e538af;hpb=ef2496b3cb7ce66b7f831278be66261834b732e5;p=l2e.git diff --git a/src/graphics/Font.h b/src/graphics/Font.h index c879dce..272b09f 100644 --- a/src/graphics/Font.h +++ b/src/graphics/Font.h @@ -2,7 +2,7 @@ #define GRAPHICS_FONT_H_ #include "Sprite.h" -#include "../geometry/Vector.h" +#include "../math/Vector.h" #include @@ -25,12 +25,12 @@ public: int StringWidth(const char *) const; int StringHeight(const char *) const; - 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 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; + void DrawChar(char c, SDL_Surface *dest, const math::Vector &position) const; + void DrawString(const char *s, SDL_Surface *dest, const math::Vector &position, int maxWidth = 0) const; + void DrawStringRight(const char *s, SDL_Surface *dest, const math::Vector &position, int maxWidth = 0) const; + void DrawDigit(int d, SDL_Surface *dest, const math::Vector &position) const; + void DrawNumber(int n, SDL_Surface *dest, const math::Vector &position, int digits = 0) const; + void DrawNumberRight(int n, SDL_Surface *dest, const math::Vector &position, int digits = 0) const; public: void SetSprite(const Sprite *s) { sprite = s; }