diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2009-01-05 21:16:23 +0100 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2009-02-09 19:45:29 +0100 |
commit | 0fd9aef8bf376d44132edded2cdcb41ba7ee5b2f (patch) | |
tree | 24c19cd4af285fd8ede2d9d866668d005b5f6e26 /src/gui/window.h | |
parent | 1a769276ce68285040bffd63bd1c01495ce411a7 (diff) | |
download | mana-0fd9aef8bf376d44132edded2cdcb41ba7ee5b2f.tar.gz mana-0fd9aef8bf376d44132edded2cdcb41ba7ee5b2f.tar.bz2 mana-0fd9aef8bf376d44132edded2cdcb41ba7ee5b2f.tar.xz mana-0fd9aef8bf376d44132edded2cdcb41ba7ee5b2f.zip |
Mostly whitespace and formatting changes
(merged from eAthena client)
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 |