From ad0c5a085c3c6531db2a84a77d590311ed1d2d8f Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 22 Oct 2012 02:39:05 +0300 Subject: Add auto resize feature to equipment window for correct placing slots. --- src/gui/widgets/window.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/gui/widgets/window.h') diff --git a/src/gui/widgets/window.h b/src/gui/widgets/window.h index e758a4d99..73cd1c2be 100644 --- a/src/gui/widgets/window.h +++ b/src/gui/widgets/window.h @@ -428,6 +428,10 @@ class Window : public gcn::Window, { return mTitlePadding; } Skin *mSkin; /**< Skin in use by this window */ + int mDefaultX; /**< Default window X position */ + int mDefaultY; /**< Default window Y position */ + int mDefaultWidth; /**< Default window width */ + int mDefaultHeight; /**< Default window height */ private: enum ResizeHandles @@ -474,10 +478,6 @@ class Window : public gcn::Window, int mMinWinHeight; /**< Minimum window height */ int mMaxWinWidth; /**< Maximum window width */ int mMaxWinHeight; /**< Maximum window height */ - int mDefaultX; /**< Default window X position */ - int mDefaultY; /**< Default window Y position */ - int mDefaultWidth; /**< Default window width */ - int mDefaultHeight; /**< Default window height */ static int mouseResize; /**< Active resize handles */ static int instances; /**< Number of Window instances */ -- cgit v1.2.3-60-g2f50