summaryrefslogtreecommitdiff
path: root/src/gui/window.h
diff options
context:
space:
mode:
authorIra Rice <irarice@gmail.com>2009-01-26 12:18:23 -0700
committerIra Rice <irarice@gmail.com>2009-01-26 12:18:23 -0700
commit63126a5dd5e6cf9acaf9b2114e8ac7213939d69f (patch)
tree9c85c85da7e970133637aeaf3a53edf4cca13a3f /src/gui/window.h
parenta1d19e32e1206e406409ca68db6f344535e16519 (diff)
downloadmana-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.h20
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)