summaryrefslogtreecommitdiff
path: root/src/gui/windowmenu.cpp
diff options
context:
space:
mode:
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()