summaryrefslogtreecommitdiff
path: root/src/gui/widgets/popup.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-02-22 14:59:26 +0300
committerAndrei Karas <akaras@inbox.ru>2014-02-22 14:59:26 +0300
commit63f0b730767b1185dc33f8892068d697e26a09bb (patch)
tree9f3bcba891cb747b2b4696651b8df464a8a1fc86 /src/gui/widgets/popup.cpp
parent48646db55005a0da079bd2c945875dc8225e2f86 (diff)
downloadplus-63f0b730767b1185dc33f8892068d697e26a09bb.tar.gz
plus-63f0b730767b1185dc33f8892068d697e26a09bb.tar.bz2
plus-63f0b730767b1185dc33f8892068d697e26a09bb.tar.xz
plus-63f0b730767b1185dc33f8892068d697e26a09bb.zip
Move Rectangle and ClipRectangle into gui directory.
Diffstat (limited to 'src/gui/widgets/popup.cpp')
-rw-r--r--src/gui/widgets/popup.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/widgets/popup.cpp b/src/gui/widgets/popup.cpp
index 178695891..76eb3707a 100644
--- a/src/gui/widgets/popup.cpp
+++ b/src/gui/widgets/popup.cpp
@@ -122,10 +122,10 @@ void Popup::draw(Graphics *graphics)
BLOCK_END("Popup::draw")
}
-gcn::Rectangle Popup::getChildrenArea()
+Rectangle Popup::getChildrenArea()
{
const int pad2 = mPadding * 2;
- return gcn::Rectangle(mPadding, mPadding,
+ return Rectangle(mPadding, mPadding,
mDimension.width - pad2, mDimension.height - pad2);
}