diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-09-12 19:49:58 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-09-12 19:54:12 +0300 |
commit | f7abd3b849d218af2a57e14490a8054d01be0e6f (patch) | |
tree | e28bb6f18ff3dc357df2264d2f9536455b9c403b /src/gui/widgets/window.h | |
parent | 715ee6e1c954d3b89165c69245ed045da2b2f6b0 (diff) | |
download | manaplus-f7abd3b849d218af2a57e14490a8054d01be0e6f.tar.gz manaplus-f7abd3b849d218af2a57e14490a8054d01be0e6f.tar.bz2 manaplus-f7abd3b849d218af2a57e14490a8054d01be0e6f.tar.xz manaplus-f7abd3b849d218af2a57e14490a8054d01be0e6f.zip |
Improver a bit window draw code.
Diffstat (limited to 'src/gui/widgets/window.h')
-rw-r--r-- | src/gui/widgets/window.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/widgets/window.h b/src/gui/widgets/window.h index 9cc6acc54..28976f2ca 100644 --- a/src/gui/widgets/window.h +++ b/src/gui/widgets/window.h @@ -444,6 +444,8 @@ class Window : public gcn::Window, private gcn::WidgetListener ResizeGrip *mGrip; /**< Resize grip */ Window *mParent; /**< The parent window */ Layout *mLayout; /**< Layout handler */ + gcn::Rectangle mCloseRect; /**< Close button rectangle */ + gcn::Rectangle mStickyRect; /**< Sticky button rectangle */ std::string mWindowName; /**< Name of the window */ bool mShowTitle; /**< Window has a title bar */ bool mModal; /**< Window is modal */ |