diff options
Diffstat (limited to 'src/gui/window.h')
-rw-r--r-- | src/gui/window.h | 23 |
1 files changed, 12 insertions, 11 deletions
diff --git a/src/gui/window.h b/src/gui/window.h index 6f49e062..50a206f0 100644 --- a/src/gui/window.h +++ b/src/gui/window.h @@ -222,17 +222,6 @@ class Window : public gcn::Window, gcn::WidgetListener */ void resetToDefaultSize(); - enum ResizeHandles - { - TOP = 0x01, - RIGHT = 0x02, - BOTTOM = 0x04, - LEFT = 0x08 - }; - - /** The window container windows add themselves to. */ - static WindowContainer *windowContainer; - /** * Gets the layout handler for this window. */ @@ -263,7 +252,19 @@ class Window : public gcn::Window, gcn::WidgetListener */ void loadSkin(const std::string &fileName); + protected: + /** The window container windows add themselves to. */ + static WindowContainer *windowContainer; + private: + enum ResizeHandles + { + TOP = 0x01, + RIGHT = 0x02, + BOTTOM = 0x04, + LEFT = 0x08 + }; + /** * Determines if the mouse is in a resize area and returns appropriate * resize handles. Also initializes drag offset in case the resize |