diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-10-04 12:00:17 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-10-04 12:00:17 +0300 |
commit | 66d469fe20cff2749316afe3ba44ad74acfc1557 (patch) | |
tree | 15267204b4ab85be7b3e2ad64e7d7be6290be1bc /src/gui/ministatuswindow.cpp | |
parent | a78b3a34de86d181f845f352b3c4a58e6ff03872 (diff) | |
download | manaplus-66d469fe20cff2749316afe3ba44ad74acfc1557.tar.gz manaplus-66d469fe20cff2749316afe3ba44ad74acfc1557.tar.bz2 manaplus-66d469fe20cff2749316afe3ba44ad74acfc1557.tar.xz manaplus-66d469fe20cff2749316afe3ba44ad74acfc1557.zip |
Fix popups sizes and padding.
Diffstat (limited to 'src/gui/ministatuswindow.cpp')
-rw-r--r-- | src/gui/ministatuswindow.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gui/ministatuswindow.cpp b/src/gui/ministatuswindow.cpp index 9f89ca97f..b219d23c7 100644 --- a/src/gui/ministatuswindow.cpp +++ b/src/gui/ministatuswindow.cpp @@ -479,3 +479,9 @@ void MiniStatusWindow::updateArrows() { StatusWindow::updateArrowsBar(mArrowsBar); } + +gcn::Rectangle MiniStatusWindow::getChildrenArea() +{ + return gcn::Rectangle(getPadding(), 0, getWidth() - getPadding() * 2, + getHeight() - getPadding() * 2); +} |