diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-10-22 02:39:05 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-10-22 22:16:47 +0300 |
commit | ad0c5a085c3c6531db2a84a77d590311ed1d2d8f (patch) | |
tree | 6d9d53668eb26f6ae94126a80298d3791b0f8962 /src/gui/widgets/window.h | |
parent | c70f14d7dc7d2cde472deb3a7aca60a482b7eb17 (diff) | |
download | mv-ad0c5a085c3c6531db2a84a77d590311ed1d2d8f.tar.gz mv-ad0c5a085c3c6531db2a84a77d590311ed1d2d8f.tar.bz2 mv-ad0c5a085c3c6531db2a84a77d590311ed1d2d8f.tar.xz mv-ad0c5a085c3c6531db2a84a77d590311ed1d2d8f.zip |
Add auto resize feature to equipment window for correct placing slots.
Diffstat (limited to 'src/gui/widgets/window.h')
-rw-r--r-- | src/gui/widgets/window.h | 8 |
1 files changed, 4 insertions, 4 deletions
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 */ |