From d42e9ea834a07c6f60dd5248db6520d1ff423ac4 Mon Sep 17 00:00:00 2001 From: Bjørn Lindeijer Date: Thu, 19 May 2005 11:43:41 +0000 Subject: Made item amount window a modal dialog and removed support for old map format. --- src/gui/window.h | 17 +++-------------- 1 file changed, 3 insertions(+), 14 deletions(-) (limited to 'src/gui/window.h') diff --git a/src/gui/window.h b/src/gui/window.h index d0112e97..c9fa1f12 100644 --- a/src/gui/window.h +++ b/src/gui/window.h @@ -127,7 +127,6 @@ class Window : public gcn::Window, public ConfigListener */ void setMaxHeight(unsigned int height); - /** * Returns the parent window. * @@ -136,10 +135,10 @@ class Window : public gcn::Window, public ConfigListener Window *getParentWindow(); /** - * Returns whether this window is modal. This doesn't necessarily mean - * that is gets input as a child modal window could get it. + * Schedule this window for deletion. It will be deleted at the start + * of the next logic update. */ - bool isModal(); + void scheduleDelete(); /** * Window dragging. This method also makes sure the window is not @@ -169,16 +168,6 @@ class Window : public gcn::Window, public ConfigListener static int instances; /**< Number of Window instances */ static ImageRect border; /**< The window border and background */ - - /** - * Loads window resources. - */ - void loadResources(); - - /** - * Unloads window resources. - */ - void unloadResources(); }; #endif -- cgit v1.2.3-70-g09d2