X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fgraphics%2FGauge.h;h=fd81877e0e0828ff0c32dbf7eec20d0166c10aba;hb=0542849dfccfec1ce1477265fa0fee2401a8fb23;hp=b5e30c28a305a2327e6c1843301bccbbde6e5f8b;hpb=c20927cf8ab9bb7526f641850c3997f14c66f06e;p=l2e.git diff --git a/src/graphics/Gauge.h b/src/graphics/Gauge.h index b5e30c2..fd81877 100644 --- a/src/graphics/Gauge.h +++ b/src/graphics/Gauge.h @@ -8,7 +8,7 @@ #ifndef GRAPHICS_GAUGE_H_ #define GRAPHICS_GAUGE_H_ -#include "../geometry/Point.h" +#include "../geometry/Vector.h" #include @@ -23,7 +23,7 @@ public: public: int MinWidth() const { return startWidth + endWidth; } int Height() const { return height; } - void Draw(SDL_Surface *dest, const geometry::Point &position, int width, Uint8 fill) const; + void Draw(SDL_Surface *dest, const geometry::Vector &position, int width, Uint8 fill) const; private: SDL_Surface *surface;