summaryrefslogtreecommitdiff
path: root/src/gui/widgets/window.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-09-12 19:49:58 +0300
committerAndrei Karas <akaras@inbox.ru>2012-09-12 19:54:12 +0300
commitf7abd3b849d218af2a57e14490a8054d01be0e6f (patch)
treee28bb6f18ff3dc357df2264d2f9536455b9c403b /src/gui/widgets/window.h
parent715ee6e1c954d3b89165c69245ed045da2b2f6b0 (diff)
downloadmanaplus-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.h2
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 */