diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-02-22 14:59:26 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-02-22 14:59:26 +0300 |
commit | 63f0b730767b1185dc33f8892068d697e26a09bb (patch) | |
tree | 9f3bcba891cb747b2b4696651b8df464a8a1fc86 /src/render/graphics.h | |
parent | 48646db55005a0da079bd2c945875dc8225e2f86 (diff) | |
download | manaplus-63f0b730767b1185dc33f8892068d697e26a09bb.tar.gz manaplus-63f0b730767b1185dc33f8892068d697e26a09bb.tar.bz2 manaplus-63f0b730767b1185dc33f8892068d697e26a09bb.tar.xz manaplus-63f0b730767b1185dc33f8892068d697e26a09bb.zip |
Move Rectangle and ClipRectangle into gui directory.
Diffstat (limited to 'src/render/graphics.h')
-rw-r--r-- | src/render/graphics.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/render/graphics.h b/src/render/graphics.h index 2356d2d31..35e2a3ba3 100644 --- a/src/render/graphics.h +++ b/src/render/graphics.h @@ -74,7 +74,7 @@ #include "render/renderers.h" -#include "gui/base/cliprectangle.hpp" +#include "gui/cliprectangle.h" #ifdef USE_SDL2 #include <SDL_render.h> @@ -259,7 +259,7 @@ class Graphics const int w, const int h, const ImageRect &imgRect) = 0; - virtual void fillRectangle(const gcn::Rectangle& rectangle) = 0; + virtual void fillRectangle(const Rectangle& rectangle) = 0; /** * Updates the screen. This is done by either copying the buffer to the @@ -293,7 +293,7 @@ class Graphics const int x2, const int y2, const int width, const int height); - gcn::ClipRectangle &getTopClip() A_WARN_UNUSED + ClipRectangle &getTopClip() A_WARN_UNUSED { return mClipStack.top(); } void setRedraw(const bool n) @@ -410,7 +410,7 @@ class Graphics * @return False if the the new area lays outside the current clip * area. */ - virtual bool pushClipArea(gcn::Rectangle area); + virtual bool pushClipArea(Rectangle area); /** * Removes the top most clip area from the stack. @@ -434,7 +434,7 @@ class Graphics * * @param rectangle The rectangle to draw. */ - virtual void drawRectangle(const gcn::Rectangle &rectangle) = 0; + virtual void drawRectangle(const Rectangle &rectangle) = 0; /** * Gets the current clip area. Usefull if you want to do drawing @@ -442,7 +442,7 @@ class Graphics * * @return The current clip area. */ - virtual const gcn::ClipRectangle *getCurrentClipArea() const; + virtual const ClipRectangle *getCurrentClipArea() const; /** * Draws a single point/pixel. @@ -510,7 +510,7 @@ class Graphics /** * Holds the clip area stack. */ - std::stack<gcn::ClipRectangle> mClipStack; + std::stack<ClipRectangle> mClipStack; SDL_Window *mWindow; |