X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fgraphics%2FGauge.h;h=383559e746add0ccfab0cb9617d50e7ca66546b3;hb=a3ba4dc677ad7c92eeb78b20b642241563605c9d;hp=59a7490961da5c3c92b161d134aed3c1d8220d93;hpb=ef2496b3cb7ce66b7f831278be66261834b732e5;p=l2e.git diff --git a/src/graphics/Gauge.h b/src/graphics/Gauge.h index 59a7490..383559e 100644 --- a/src/graphics/Gauge.h +++ b/src/graphics/Gauge.h @@ -1,7 +1,7 @@ #ifndef GRAPHICS_GAUGE_H_ #define GRAPHICS_GAUGE_H_ -#include "../geometry/Vector.h" +#include "../math/Vector.h" #include @@ -19,12 +19,12 @@ public: public: int MinWidth() const { return startWidth + endWidth; } int Height() const { return height; } - void Draw(SDL_Surface *dest, const geometry::Vector &position, int width, Uint8 fill) const; + void Draw(SDL_Surface *dest, const math::Vector &position, int width, Uint8 fill) const; public: void SetSurface(SDL_Surface *s) { surface = s; } - void SetFullOffset(const geometry::Vector &o) { fullOffset = o; } - void SetEmptyOffset(const geometry::Vector &o) { emptyOffset = o; } + void SetFullOffset(const math::Vector &o) { fullOffset = o; } + void SetEmptyOffset(const math::Vector &o) { emptyOffset = o; } void SetHeight(int h) { height = h; } void SetStartWidth(int w) { startWidth = w; } void SetRepeatWidth(int w) { repeatWidth = w; } @@ -35,8 +35,8 @@ public: private: SDL_Surface *surface; - geometry::Vector fullOffset; - geometry::Vector emptyOffset; + math::Vector fullOffset; + math::Vector emptyOffset; int height; int startWidth; int repeatWidth;