diff options
author | Ira Rice <irarice@gmail.com> | 2009-03-10 08:11:48 -0600 |
---|---|---|
committer | Ira Rice <irarice@gmail.com> | 2009-03-10 08:11:48 -0600 |
commit | 443a10db52e909c4c2a33543795ec8837547e973 (patch) | |
tree | fc8fff5e1dbd5e171974919186f6356ffce7b6ff /src/gui/window.h | |
parent | 03507766fa4ee07491b7ee702093669de6222c9c (diff) | |
download | mana-443a10db52e909c4c2a33543795ec8837547e973.tar.gz mana-443a10db52e909c4c2a33543795ec8837547e973.tar.bz2 mana-443a10db52e909c4c2a33543795ec8837547e973.tar.xz mana-443a10db52e909c4c2a33543795ec8837547e973.zip |
Made it so that when windows load previous states, they are never
smaller than the minimum width and height (a check that should have
been enforced in the first place), as well as modified the NPC list and
text dialogs to remember where they were when they were moved or resized
last.
Signed-off-by: Ira Rice <irarice@gmail.com>
Diffstat (limited to 'src/gui/window.h')
-rw-r--r-- | src/gui/window.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gui/window.h b/src/gui/window.h index 3a92ac17..bf15dedb 100644 --- a/src/gui/window.h +++ b/src/gui/window.h @@ -234,6 +234,12 @@ class Window : public gcn::Window, gcn::WidgetListener void loadWindowState(); /** + * Saves the window state so that when the window is reloaded, it'll + * maintain its previous state and location. + */ + void saveWindowState(); + + /** * Set the default win pos and size. * (which can be different of the actual ones.) */ |