From 63126a5dd5e6cf9acaf9b2114e8ac7213939d69f Mon Sep 17 00:00:00 2001 From: Ira Rice Date: Mon, 26 Jan 2009 12:18:23 -0700 Subject: Made minimaps resizeable. Signed-off-by: Ira Rice --- src/gui/window.h | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'src/gui/window.h') 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 @@ -129,6 +129,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. */ -- cgit v1.2.3-70-g09d2