summaryrefslogtreecommitdiff
path: root/src/gui/windowmenu.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/windowmenu.cpp
parent48646db55005a0da079bd2c945875dc8225e2f86 (diff)
downloadmv-63f0b730767b1185dc33f8892068d697e26a09bb.tar.gz
mv-63f0b730767b1185dc33f8892068d697e26a09bb.tar.bz2
mv-63f0b730767b1185dc33f8892068d697e26a09bb.tar.xz
mv-63f0b730767b1185dc33f8892068d697e26a09bb.zip
Move Rectangle and ClipRectangle into gui directory.
Diffstat (limited to 'src/gui/windowmenu.cpp')
-rw-r--r--src/gui/windowmenu.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/windowmenu.cpp b/src/gui/windowmenu.cpp
index 27418b892..79ed7255d 100644
--- a/src/gui/windowmenu.cpp
+++ b/src/gui/windowmenu.cpp
@@ -168,7 +168,7 @@ WindowMenu::WindowMenu(const Widget2 *const widget) :
x += mPadding - mSpacing;
if (mainGraphics)
- setDimension(gcn::Rectangle(mainGraphics->mWidth - x, 0, x, h));
+ setDimension(Rectangle(mainGraphics->mWidth - x, 0, x, h));
loadButtons();
@@ -293,7 +293,7 @@ void WindowMenu::mouseMoved(MouseEvent &event)
const int x = event.getX();
const int y = event.getY();
const int key = btn->getTag();
- const gcn::Rectangle &rect = mDimension;
+ const Rectangle &rect = mDimension;
if (key != Input::KEY_NO_VALUE)
{
mTextPopup->show(x + rect.x, y + rect.y, btn->getDescription(),
@@ -350,7 +350,7 @@ void WindowMenu::updateButtons()
}
x += mPadding - mSpacing;
if (mainGraphics)
- setDimension(gcn::Rectangle(mainGraphics->mWidth - x, 0, x, h));
+ setDimension(Rectangle(mainGraphics->mWidth - x, 0, x, h));
}
void WindowMenu::loadButtons()