diff options
author | Ira Rice <irarice@gmail.com> | 2009-01-26 12:18:23 -0700 |
---|---|---|
committer | Ira Rice <irarice@gmail.com> | 2009-01-26 12:18:23 -0700 |
commit | 63126a5dd5e6cf9acaf9b2114e8ac7213939d69f (patch) | |
tree | 9c85c85da7e970133637aeaf3a53edf4cca13a3f /src/gui/window.h | |
parent | a1d19e32e1206e406409ca68db6f344535e16519 (diff) | |
download | mana-63126a5dd5e6cf9acaf9b2114e8ac7213939d69f.tar.gz mana-63126a5dd5e6cf9acaf9b2114e8ac7213939d69f.tar.bz2 mana-63126a5dd5e6cf9acaf9b2114e8ac7213939d69f.tar.xz mana-63126a5dd5e6cf9acaf9b2114e8ac7213939d69f.zip |
Made minimaps resizeable.
Signed-off-by: Ira Rice <irarice@gmail.com>
Diffstat (limited to 'src/gui/window.h')
-rw-r--r-- | src/gui/window.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/gui/window.h b/src/gui/window.h index 51b5186d..501ad160 100644 --- a/src/gui/window.h +++ b/src/gui/window.h @@ -130,6 +130,26 @@ class Window : public gcn::Window, gcn::WidgetListener void setMaxHeight(unsigned int height); /** + * Gets the minimum width of the window. + */ + int getMinWidth() { return mMinWinWidth; } + + /** + * Gets the minimum height of the window. + */ + int getMinHeight() { return mMinWinHeight; } + + /** + * Gets the maximum width of the window. + */ + int getMaxWidth() { return mMaxWinWidth; } + + /** + * Gets the minimum height of the window. + */ + int getMaxHeight() { return mMaxWinHeight; } + + /** * Sets flag to show a title or not. */ void setShowTitle(bool flag) |