diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-09-12 20:35:30 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-09-12 20:35:30 +0300 |
commit | 1031587ed2e4623d622bcc602c262290e14ea4c5 (patch) | |
tree | 2d1aaf848192694dac57d46b10fbec5b9df6e69e /src/gui/widgets/window.h | |
parent | f7abd3b849d218af2a57e14490a8054d01be0e6f (diff) | |
download | plus-1031587ed2e4623d622bcc602c262290e14ea4c5.tar.gz plus-1031587ed2e4623d622bcc602c262290e14ea4c5.tar.bz2 plus-1031587ed2e4623d622bcc602c262290e14ea4c5.tar.xz plus-1031587ed2e4623d622bcc602c262290e14ea4c5.zip |
Add for windows close button hover image.
New theme parameter "closeImageHighlighted".
It have attributes same as "closeImage".
Diffstat (limited to 'src/gui/widgets/window.h')
-rw-r--r-- | src/gui/widgets/window.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/gui/widgets/window.h b/src/gui/widgets/window.h index 28976f2ca..01519e271 100644 --- a/src/gui/widgets/window.h +++ b/src/gui/widgets/window.h @@ -422,9 +422,12 @@ class Window : public gcn::Window, private gcn::WidgetListener TOP = 0x01, RIGHT = 0x02, BOTTOM = 0x04, - LEFT = 0x08 + LEFT = 0x08, + CLOSE = 0x10 }; + const int resizeMask = 8 + 4 + 2 + 1; + /** * Ensures the window is on the screen, moving it if necessary. This is * used by loadWindowState and setVisible(true), and when the screen @@ -479,6 +482,7 @@ class Window : public gcn::Window, private gcn::WidgetListener int mCaptionOffsetY; int mCaptionAlign; int mTitlePadding; + int mResizeHandles; bool mRedraw; gcn::Font *mCaptionFont; }; |