From 5cf5f65fd67cbae98a54479f0cba8be0f2876bd3 Mon Sep 17 00:00:00 2001 From: Yohann Ferreira Date: Fri, 30 Sep 2005 19:19:47 +0000 Subject: Made the inventory Win behave normally when resized by default size functions. --- src/gui/window.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/gui/window.h') 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 */ -- cgit v1.2.3-70-g09d2