]> git.localhorst.tv Git - l2e.git/blobdiff - src/graphics/Font.h
removed useless comments
[l2e.git] / src / graphics / Font.h
index a5d7b12d690019f0dfd070cd759cc1591521a94d..d435266e084d7476378996d19ce0451ca643bd29 100644 (file)
@@ -1,15 +1,8 @@
-/*
- * Font.h
- *
- *  Created on: Aug 8, 2012
- *      Author: holy
- */
-
 #ifndef GRAPHICS_FONT_H_
 #define GRAPHICS_FONT_H_
 
 #include "Sprite.h"
-#include "../geometry/Vector.h"
+#include "../math/Vector.h"
 
 #include <SDL.h>
 
@@ -32,12 +25,12 @@ public:
        int StringWidth(const char *) const;
        int StringHeight(const char *) const;
 
-       void DrawChar(char c, SDL_Surface *dest, const geometry::Vector<int> &position) const;
-       void DrawString(const char *s, SDL_Surface *dest, const geometry::Vector<int> &position, int maxWidth = 0) const;
-       void DrawStringRight(const char *s, SDL_Surface *dest, const geometry::Vector<int> &position, int maxWidth = 0) const;
-       void DrawDigit(int d, SDL_Surface *dest, const geometry::Vector<int> &position) const;
-       void DrawNumber(int n, SDL_Surface *dest, const geometry::Vector<int> &position, int digits = 0) const;
-       void DrawNumberRight(int n, SDL_Surface *dest, const geometry::Vector<int> &position, int digits = 0) const;
+       void DrawChar(char c, SDL_Surface *dest, const math::Vector<int> &position) const;
+       void DrawString(const char *s, SDL_Surface *dest, const math::Vector<int> &position, int maxWidth = 0) const;
+       void DrawStringRight(const char *s, SDL_Surface *dest, const math::Vector<int> &position, int maxWidth = 0) const;
+       void DrawDigit(int d, SDL_Surface *dest, const math::Vector<int> &position) const;
+       void DrawNumber(int n, SDL_Surface *dest, const math::Vector<int> &position, int digits = 0) const;
+       void DrawNumberRight(int n, SDL_Surface *dest, const math::Vector<int> &position, int digits = 0) const;
 
 public:
        void SetSprite(const Sprite *s) { sprite = s; }
@@ -56,4 +49,4 @@ private:
 
 }
 
-#endif /* GRAPHICS_FONT_H_ */
+#endif