]> git.localhorst.tv Git - l2e.git/blobdiff - src/graphics/Gauge.h
switched some (x,y) and (w,h) pairs to vectors
[l2e.git] / src / graphics / Gauge.h
index 95b4b5b580cf738cd2a22c7296a5819fac2561fa..fd81877e0e0828ff0c32dbf7eec20d0166c10aba 100644 (file)
@@ -8,7 +8,7 @@
 #ifndef GRAPHICS_GAUGE_H_
 #define GRAPHICS_GAUGE_H_
 
-#include "../geometry/Point.h"
+#include "../geometry/Vector.h"
 
 #include <SDL.h>
 
@@ -23,7 +23,7 @@ public:
 public:
        int MinWidth() const { return startWidth + endWidth; }
        int Height() const { return height; }
-       void Draw(SDL_Surface *dest, geometry::Point<int> position, int width, int filled) const;
+       void Draw(SDL_Surface *dest, const geometry::Vector<int> &position, int width, Uint8 fill) const;
 
 private:
        SDL_Surface *surface;