summaryrefslogtreecommitdiff
path: root/src/gui/widgets/window.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-09-13 03:16:00 +0300
committerAndrei Karas <akaras@inbox.ru>2012-09-13 03:16:00 +0300
commit39dbb74b3f1adc7d28c1a8ba9bb633afbf745b6b (patch)
tree7b730913775d25984689d3308b0d561999662192 /src/gui/widgets/window.h
parent262ce6d0ee2737e8d24914e4ed35c29cc335060b (diff)
downloadmanaverse-39dbb74b3f1adc7d28c1a8ba9bb633afbf745b6b.tar.gz
manaverse-39dbb74b3f1adc7d28c1a8ba9bb633afbf745b6b.tar.bz2
manaverse-39dbb74b3f1adc7d28c1a8ba9bb633afbf745b6b.tar.xz
manaverse-39dbb74b3f1adc7d28c1a8ba9bb633afbf745b6b.zip
Fix code style.
Diffstat (limited to 'src/gui/widgets/window.h')
-rw-r--r--src/gui/widgets/window.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/gui/widgets/window.h b/src/gui/widgets/window.h
index 01519e271..1e1caa6cd 100644
--- a/src/gui/widgets/window.h
+++ b/src/gui/widgets/window.h
@@ -396,7 +396,7 @@ class Window : public gcn::Window, private gcn::WidgetListener
gcn::Rectangle getWindowArea() const;
- bool isResizeAllowed(const gcn::MouseEvent &event);
+ bool isResizeAllowed(const gcn::MouseEvent &event) const;
void setCaptionFont(gcn::Font *font)
{ mCaptionFont = font; }
@@ -426,8 +426,6 @@ class Window : public gcn::Window, private gcn::WidgetListener
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