summaryrefslogtreecommitdiff
path: root/src/gui/window.cpp
diff options
context:
space:
mode:
authorsniper <sniper@livecd.janhome.net>2009-03-11 17:19:31 +0100
committerIra Rice <irarice@gmail.com>2009-03-12 21:03:20 -0600
commit393c1085ed1cb24092778594d2945a39428e41ad (patch)
treede676791f4cfdd7ef8a0cd8bcc2c1dae64dda885 /src/gui/window.cpp
parent3ea4f74915184c08398bdf15e62d9667321ab15c (diff)
downloadmana-393c1085ed1cb24092778594d2945a39428e41ad.tar.gz
mana-393c1085ed1cb24092778594d2945a39428e41ad.tar.bz2
mana-393c1085ed1cb24092778594d2945a39428e41ad.tar.xz
mana-393c1085ed1cb24092778594d2945a39428e41ad.zip
Added a class for rendering of floating text
This is a header only-class that merges the textrendering of the TextParticle and Text classes. It is done to reduce code duplication and to prepare some color configuration gui.
Diffstat (limited to 'src/gui/window.cpp')
-rw-r--r--src/gui/window.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/window.cpp b/src/gui/window.cpp
index d40ebca6..f6d23950 100644
--- a/src/gui/window.cpp
+++ b/src/gui/window.cpp
@@ -630,6 +630,7 @@ void Window::resetToDefaultSize()
{
setPosition(mDefaultX, mDefaultY);
setSize(mDefaultWidth, mDefaultHeight);
+ saveWindowState();
}
int Window::getResizeHandles(gcn::MouseEvent &event)