X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fgraphics%2FGauge.h;h=fd81877e0e0828ff0c32dbf7eec20d0166c10aba;hb=107b78b720db69ad402c09c0b1d9beb3b88a1952;hp=dde1db0b7355db05ec8eafda6cf36c57a730dcca;hpb=2e0bbc9fcc1cce3e1faeff85cc63de7f676e8077;p=l2e.git diff --git a/src/graphics/Gauge.h b/src/graphics/Gauge.h index dde1db0..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, geometry::Point position, int width, Uint8 level) const; + void Draw(SDL_Surface *dest, const geometry::Vector &position, int width, Uint8 fill) const; private: SDL_Surface *surface;