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/windows/debugwindow.cpp | |
parent | 48646db55005a0da079bd2c945875dc8225e2f86 (diff) | |
download | plus-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/windows/debugwindow.cpp')
-rw-r--r-- | src/gui/windows/debugwindow.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/gui/windows/debugwindow.cpp b/src/gui/windows/debugwindow.cpp index 7e68aa6d8..2a227c4e2 100644 --- a/src/gui/windows/debugwindow.cpp +++ b/src/gui/windows/debugwindow.cpp @@ -75,7 +75,7 @@ DebugWindow::DebugWindow() : // TRANSLATORS: debug window tab mTabs->addTab(std::string(_("Net")), mNetWidget); - mTabs->setDimension(gcn::Rectangle(0, 0, 600, 300)); + mTabs->setDimension(Rectangle(0, 0, 600, 300)); const int w = mDimension.width; const int h = mDimension.height; @@ -151,7 +151,7 @@ void DebugWindow::widgetResized(const Event &event) { Window::widgetResized(event); - mTabs->setDimension(gcn::Rectangle(0, 0, + mTabs->setDimension(Rectangle(0, 0, mDimension.width, mDimension.height)); } @@ -267,7 +267,7 @@ MapDebugTab::MapDebugTab(const Widget2 *const widget) : #endif place.getCell().matchColWidth(0, 0); place = h.getPlacer(0, 1); - setDimension(gcn::Rectangle(0, 0, 600, 300)); + setDimension(Rectangle(0, 0, 600, 300)); } void MapDebugTab::logic() @@ -412,7 +412,7 @@ TargetDebugTab::TargetDebugTab(const Widget2 *const widget) : place.getCell().matchColWidth(0, 0); place = h.getPlacer(0, 1); - setDimension(gcn::Rectangle(0, 0, 600, 300)); + setDimension(Rectangle(0, 0, 600, 300)); } void TargetDebugTab::logic() @@ -531,7 +531,7 @@ NetDebugTab::NetDebugTab(const Widget2 *const widget) : place.getCell().matchColWidth(0, 0); place = h.getPlacer(0, 1); - setDimension(gcn::Rectangle(0, 0, 600, 300)); + setDimension(Rectangle(0, 0, 600, 300)); } void NetDebugTab::logic() |