diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-02-05 17:46:02 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-02-05 20:56:16 +0300 |
commit | 12273c046fff6b2f778ef4c3cc0d8014d86233e5 (patch) | |
tree | e4dd0ca3b42c31883709dfcf0e85823e1f22479e /src/gui/widgets | |
parent | 8db56130426f2c61e10219eddb67ee86bea82961 (diff) | |
download | manaplus-12273c046fff6b2f778ef4c3cc0d8014d86233e5.tar.gz manaplus-12273c046fff6b2f778ef4c3cc0d8014d86233e5.tar.bz2 manaplus-12273c046fff6b2f778ef4c3cc0d8014d86233e5.tar.xz manaplus-12273c046fff6b2f778ef4c3cc0d8014d86233e5.zip |
Impliment packet SMSG_NPC_CUTIN. Add support for cutins.
Diffstat (limited to 'src/gui/widgets')
-rw-r--r-- | src/gui/widgets/window.cpp | 2 | ||||
-rw-r--r-- | src/gui/widgets/window.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/widgets/window.cpp b/src/gui/widgets/window.cpp index b7a7227c8..e22ea3f60 100644 --- a/src/gui/widgets/window.cpp +++ b/src/gui/widgets/window.cpp @@ -123,6 +123,7 @@ Window::Window(const std::string &caption, mDefaultY(0), mDefaultWidth(0), mDefaultHeight(0), + mShowTitle(true), mLastRedraw(true), mGrip(nullptr), mParent(parent), @@ -149,7 +150,6 @@ Window::Window(const std::string &caption, mStickyPadding(0), mCaptionFont(getFont()), mModal(modal), - mShowTitle(true), mCloseWindowButton(false), mDefaultVisible(false), mSaveVisible(false), diff --git a/src/gui/widgets/window.h b/src/gui/widgets/window.h index 7d809e7db..277e971bb 100644 --- a/src/gui/widgets/window.h +++ b/src/gui/widgets/window.h @@ -641,6 +641,7 @@ class Window notfinal : public BasicContainer2, int mDefaultY; /**< Default window Y position */ int mDefaultWidth; /**< Default window width */ int mDefaultHeight; /**< Default window height */ + bool mShowTitle; /**< Window has a title bar */ bool mLastRedraw; private: @@ -707,7 +708,6 @@ class Window notfinal : public BasicContainer2, int mStickyPadding; Font *mCaptionFont A_NONNULLPOINTER; Modal mModal; /**< Window is modal */ - bool mShowTitle; /**< Window has a title bar */ bool mCloseWindowButton; /**< Window has a close button */ bool mDefaultVisible; /**< Window's default visibility */ bool mSaveVisible; /**< Window will save visibility */ |