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/gui/widgets/button.cpp | |
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/gui/widgets/button.cpp')
-rw-r--r-- | src/gui/widgets/button.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/widgets/button.cpp b/src/gui/widgets/button.cpp index d7871503e..90c1706b5 100644 --- a/src/gui/widgets/button.cpp +++ b/src/gui/widgets/button.cpp @@ -380,7 +380,7 @@ void Button::draw(Graphics *graphics) { // because we don't know where parent windows was moved, // need recalc vertexes - gcn::ClipRectangle &rect = graphics->getTopClip(); + ClipRectangle &rect = graphics->getTopClip(); if (rect.xOffset != mXOffset || rect.yOffset != mYOffset) { recalc = true; @@ -420,7 +420,7 @@ void Button::draw(Graphics *graphics) int imageX = 0; int imageY = 0; int textX = 0; - const gcn::Rectangle &rect = mDimension; + const Rectangle &rect = mDimension; const int width = rect.width; const int height = rect.height; Font *const font = getFont(); |