diff options
author | Yohann Ferreira <bertram@cegetel.net> | 2005-09-30 19:19:47 +0000 |
---|---|---|
committer | Yohann Ferreira <bertram@cegetel.net> | 2005-09-30 19:19:47 +0000 |
commit | 5cf5f65fd67cbae98a54479f0cba8be0f2876bd3 (patch) | |
tree | 27d88a06cbbd36765ce5c3af05f35adcc6e7b4c2 /src/gui/window.h | |
parent | 232c094b842e1540e9fd4b719894c4b3a4136659 (diff) | |
download | mana-5cf5f65fd67cbae98a54479f0cba8be0f2876bd3.tar.gz mana-5cf5f65fd67cbae98a54479f0cba8be0f2876bd3.tar.bz2 mana-5cf5f65fd67cbae98a54479f0cba8be0f2876bd3.tar.xz mana-5cf5f65fd67cbae98a54479f0cba8be0f2876bd3.zip |
Made the inventory Win behave normally when resized by default size functions.
Diffstat (limited to 'src/gui/window.h')
-rw-r--r-- | src/gui/window.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/window.h b/src/gui/window.h index a48d3851..c1027518 100644 --- a/src/gui/window.h +++ b/src/gui/window.h @@ -177,20 +177,20 @@ class Window : public gcn::Window * Don't forget to set these default values and resizable before * calling this function. */ - void loadWindowState(); + virtual void loadWindowState(); /** * Set the default win pos and size. * (which can be different of the actual ones.) */ - void setDefaultSize(int defaultX, int defaultY, + virtual void setDefaultSize(int defaultX, int defaultY, int defaultWidth, int defaultHeight); /** * Reset the win pos and size to default. * Don't forget to set defaults first. */ - void resetToDefaultSize(); + virtual void resetToDefaultSize(); protected: gcn::Container *chrome; /**< Contained container */ |