summaryrefslogtreecommitdiff
path: root/src/gui/widgets/window.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets/window.h')
-rw-r--r--src/gui/widgets/window.h6
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;
};