summaryrefslogtreecommitdiff
path: root/src/gui/window.h
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2005-05-19 11:43:41 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2005-05-19 11:43:41 +0000
commitd42e9ea834a07c6f60dd5248db6520d1ff423ac4 (patch)
tree7de19d851aecae83bc8467d70c9a718ebff98205 /src/gui/window.h
parent32ca8ca9551070ba1086cd5b6c973620052061ed (diff)
downloadmana-d42e9ea834a07c6f60dd5248db6520d1ff423ac4.tar.gz
mana-d42e9ea834a07c6f60dd5248db6520d1ff423ac4.tar.bz2
mana-d42e9ea834a07c6f60dd5248db6520d1ff423ac4.tar.xz
mana-d42e9ea834a07c6f60dd5248db6520d1ff423ac4.zip
Made item amount window a modal dialog and removed support for old map format.
Diffstat (limited to 'src/gui/window.h')
-rw-r--r--src/gui/window.h17
1 files changed, 3 insertions, 14 deletions
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