X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fgraphics%2FFrame.h;h=d2e8dd4c02a868d0946d2f243865246a219db0db;hb=62db8dd0b428e68cf5626607297589c2bafe0d3e;hp=0f1287c06a3d2528b6f01c074ddda32f3c5ec75e;hpb=cccda573516f3bce30efbaba3fc20e4148d3cdc8;p=l2e.git diff --git a/src/graphics/Frame.h b/src/graphics/Frame.h index 0f1287c..d2e8dd4 100644 --- a/src/graphics/Frame.h +++ b/src/graphics/Frame.h @@ -23,7 +23,9 @@ public: public: int MinWidth() const { return 2 * borderWidth; } int MinHeight() const { return 2 * borderHeight; } - void Draw(SDL_Surface *dest, geometry::Point position, int width, int height) const; + int BorderWidth() const { return borderWidth; } + int BorderHeight() const { return borderHeight; } + void Draw(SDL_Surface *dest, const geometry::Point &position, int width, int height) const; private: SDL_Surface *surface;