diff options
Diffstat (limited to 'src/gui/window.h')
-rw-r--r-- | src/gui/window.h | 17 |
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 |