diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-08-31 23:24:57 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-08-31 23:24:57 +0300 |
commit | adeb8e6091694e228f081ca8843e101ae598f26c (patch) | |
tree | a8a9caf4cbaf6b5d9a99f9b5e4e56f9b3203aa38 /src/gui/statuswindow.cpp | |
parent | 6d349121a70377723e53b92a8990e56ee3e4fd88 (diff) | |
download | manaplus-adeb8e6091694e228f081ca8843e101ae598f26c.tar.gz manaplus-adeb8e6091694e228f081ca8843e101ae598f26c.tar.bz2 manaplus-adeb8e6091694e228f081ca8843e101ae598f26c.tar.xz manaplus-adeb8e6091694e228f081ca8843e101ae598f26c.zip |
Add ability to lock any window position and size. Using sticky image for this.
Diffstat (limited to 'src/gui/statuswindow.cpp')
-rw-r--r-- | src/gui/statuswindow.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/statuswindow.cpp b/src/gui/statuswindow.cpp index 7ab2afa2d..d1fde2dd1 100644 --- a/src/gui/statuswindow.cpp +++ b/src/gui/statuswindow.cpp @@ -132,6 +132,7 @@ StatusWindow::StatusWindow(): setResizable(true); setCloseButton(true); setSaveVisible(true); + setStickyButtonLock(true); setDefaultSize((windowContainer->getWidth() - 365) / 2, (windowContainer->getHeight() - 255) / 2, 365, 275); |