From 1031587ed2e4623d622bcc602c262290e14ea4c5 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 12 Sep 2012 20:35:30 +0300 Subject: Add for windows close button hover image. New theme parameter "closeImageHighlighted". It have attributes same as "closeImage". --- src/gui/widgets/window.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/gui/widgets/window.h') 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; }; -- cgit v1.2.3-60-g2f50