]> git.localhorst.tv Git - l2e.git/blobdiff - src/graphics/Gauge.h
removed useless comments
[l2e.git] / src / graphics / Gauge.h
index e4750ca6c14c187c471fef882b251097f5d90ab5..1eceadd6e85d0711de00c39e6c71c2273972aa66 100644 (file)
@@ -1,14 +1,7 @@
-/*
- * Gauge.h
- *
- *  Created on: Aug 7, 2012
- *      Author: holy
- */
-
 #ifndef GRAPHICS_GAUGE_H_
 #define GRAPHICS_GAUGE_H_
 
-#include "../geometry/Vector.h"
+#include "../math/Vector.h"
 
 #include <SDL.h>
 
@@ -26,12 +19,12 @@ public:
 public:
        int MinWidth() const { return startWidth + endWidth; }
        int Height() const { return height; }
-       void Draw(SDL_Surface *dest, const geometry::Vector<int> &position, int width, Uint8 fill) const;
+       void Draw(SDL_Surface *dest, const math::Vector<int> &position, int width, Uint8 fill) const;
 
 public:
        void SetSurface(SDL_Surface *s) { surface = s; }
-       void SetFullOffset(const geometry::Vector<int> &o) { fullOffset = o; }
-       void SetEmptyOffset(const geometry::Vector<int> &o) { emptyOffset = o; }
+       void SetFullOffset(const math::Vector<int> &o) { fullOffset = o; }
+       void SetEmptyOffset(const math::Vector<int> &o) { emptyOffset = o; }
        void SetHeight(int h) { height = h; }
        void SetStartWidth(int w) { startWidth = w; }
        void SetRepeatWidth(int w) { repeatWidth = w; }
@@ -42,8 +35,8 @@ public:
 
 private:
        SDL_Surface *surface;
-       geometry::Vector<int> fullOffset;
-       geometry::Vector<int> emptyOffset;
+       math::Vector<int> fullOffset;
+       math::Vector<int> emptyOffset;
        int height;
        int startWidth;
        int repeatWidth;
@@ -53,4 +46,4 @@ private:
 
 }
 
-#endif /* GRAPHICS_GAUGE_H_ */
+#endif