summaryrefslogtreecommitdiff
path: root/src/gui/windowcontainer.h
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2005-05-18 22:20:08 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2005-05-18 22:20:08 +0000
commit32ca8ca9551070ba1086cd5b6c973620052061ed (patch)
treeac3909b6ed48d51e367094bb7e908fdd98ee9807 /src/gui/windowcontainer.h
parent15b899a6651fcdb79ff7a2040327564c2a99124f (diff)
downloadmana-client-32ca8ca9551070ba1086cd5b6c973620052061ed.tar.gz
mana-client-32ca8ca9551070ba1086cd5b6c973620052061ed.tar.bz2
mana-client-32ca8ca9551070ba1086cd5b6c973620052061ed.tar.xz
mana-client-32ca8ca9551070ba1086cd5b6c973620052061ed.zip
Upgrade to Guichan 0.4.0, TMW can no longer compile, link or run against 0.3.0.
Diffstat (limited to 'src/gui/windowcontainer.h')
-rw-r--r--src/gui/windowcontainer.h53
1 files changed, 0 insertions, 53 deletions
diff --git a/src/gui/windowcontainer.h b/src/gui/windowcontainer.h
index d9c49a2f..b0596f33 100644
--- a/src/gui/windowcontainer.h
+++ b/src/gui/windowcontainer.h
@@ -47,65 +47,12 @@ class WindowContainer : public gcn::Container {
void logic();
/**
- * Handles mouse input messages. Differs from standard behaviour in
- * that widget with mouse doesn't change while a button is pressed.
- */
- //void _mouseInputMessage(const gcn::MouseInput &mouseInput);
-
- /**
- * Adds a widget. The widget can be set to be modal, which will ensure
- * only that widget will receive input.
- */
- void add(gcn::Widget *widget);
-
- /**
- * Adds a window. The window can be set to be modal, which will ensure
- * only that window will receive input. Note that when a modal widget
- * has already been set, a new window can only be made model when the
- * previously modal window is its parent.
- */
- void WindowContainer::add(Window *window, bool modal);
-
- /**
- * Removes a widget.
- */
- void remove(gcn::Widget *widget);
-
- /**
- * This function is called by the containers children when they get
- * destroyed.
- */
- void _announceDeath(gcn::Widget *widget);
-
- /**
- * Clears the container of all widgets.
- */
- void clear();
-
- /**
- * Sets the modal widget. This will ensure only this widget will
- * receive mouse or keyboard input events.
- *
- * @see Window::Window
- */
- void setModalWindow(Window *window);
-
- /**
- * Returns the current modal widget, or <code>NULL</code> if there
- * is none.
- */
- gcn::Widget *getModalWindow();
-
- /**
* Schedule a widget for deletion. It will be deleted at the start of
* the next logic update.
*/
void scheduleDelete(gcn::Widget *widget);
protected:
- bool mouseDown;
- Window *modalWindow;
-
std::list<gcn::Widget*> deathList;
};