diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2005-04-18 21:56:06 +0000 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2005-04-18 21:56:06 +0000 |
commit | 7d8ea8914bc230d473f558116d932f26f2b5d055 (patch) | |
tree | bf77bf707beb6a70b69d76dad7f19c0a69654c5f /src/gui/window.h | |
parent | 708384a6b1fca22c6352deb79e52422266dc307e (diff) | |
download | mana-7d8ea8914bc230d473f558116d932f26f2b5d055.tar.gz mana-7d8ea8914bc230d473f558116d932f26f2b5d055.tar.bz2 mana-7d8ea8914bc230d473f558116d932f26f2b5d055.tar.xz mana-7d8ea8914bc230d473f558116d932f26f2b5d055.zip |
Fixed tileset loading to clear tilesets vector when finished.
Diffstat (limited to 'src/gui/window.h')
-rw-r--r-- | src/gui/window.h | 68 |
1 files changed, 34 insertions, 34 deletions
diff --git a/src/gui/window.h b/src/gui/window.h index b7cab031..f2f87cc0 100644 --- a/src/gui/window.h +++ b/src/gui/window.h @@ -50,11 +50,11 @@ class Window : public gcn::Window, public ConfigListener ImageRect border; /**< The window border */ - bool isWinResizeable; /**< Window can be resized */ - int minWinWidth; /**< Minimum window width */ - int minWinHeight; /**< Minimum window height */ - int maxWinWidth; /**< Maximum window width */ - int maxWinHeight; /**< Maximum window height */ + bool resizeable; /**< Window can be resized */ + int minWinWidth; /**< Minimum window width */ + int minWinHeight; /**< Minimum window height */ + int maxWinWidth; /**< Maximum window width */ + int maxWinHeight; /**< Maximum window height */ /** The window container windows add themselves to. */ @@ -124,35 +124,35 @@ class Window : public gcn::Window, public ConfigListener */ void setContentSize(int width, int height); - /** - * Sets whether of not the window can be resized - */ - void setResizeable(bool resize); - - /** - * Returns the current value of isResizable - */ - bool getResizeable(); - - /** - * Sets the minimum width of the window - */ - void setMinWidth(unsigned int width); - - /** - * Sets the minimum height of the window - */ - void setMinHeight(unsigned int height); - - /** - * Sets the maximum width of the window - */ - void setMaxWidth(unsigned int width); - - /** - * Sets the minimum height of the window - */ - void setMaxHeight(unsigned int height); + /** + * Sets whether of not the window can be resized. + */ + void setResizeable(bool resize); + + /** + * Returns whether the window can be resized. + */ + bool getResizeable(); + + /** + * Sets the minimum width of the window. + */ + void setMinWidth(unsigned int width); + + /** + * Sets the minimum height of the window. + */ + void setMinHeight(unsigned int height); + + /** + * Sets the maximum width of the window. + */ + void setMaxWidth(unsigned int width); + + /** + * Sets the minimum height of the window. + */ + void setMaxHeight(unsigned int height); /** |