X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fgraphics%2FFrame.h;fp=src%2Fgraphics%2FFrame.h;h=74ce1f7600e18198bf4ad5ed46a97df6b6d6860f;hb=0542849dfccfec1ce1477265fa0fee2401a8fb23;hp=d2e8dd4c02a868d0946d2f243865246a219db0db;hpb=c20927cf8ab9bb7526f641850c3997f14c66f06e;p=l2e.git diff --git a/src/graphics/Frame.h b/src/graphics/Frame.h index d2e8dd4..74ce1f7 100644 --- a/src/graphics/Frame.h +++ b/src/graphics/Frame.h @@ -8,7 +8,7 @@ #ifndef GRAPHICS_FRAME_H_ #define GRAPHICS_FRAME_H_ -#include "../geometry/Point.h" +#include "../geometry/Vector.h" #include @@ -25,7 +25,7 @@ public: int MinHeight() const { return 2 * borderHeight; } int BorderWidth() const { return borderWidth; } int BorderHeight() const { return borderHeight; } - void Draw(SDL_Surface *dest, const geometry::Point &position, int width, int height) const; + void Draw(SDL_Surface *dest, const geometry::Vector &position, int width, int height) const; private: SDL_Surface *surface;