diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2008-04-29 09:10:43 +0000 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2008-04-29 09:10:43 +0000 |
commit | 567d35731d8cca0e535f23652b8fbe050a629f91 (patch) | |
tree | 260e523fd2f0494369bd28c72cc1e7155690d680 /src/gui/window.h | |
parent | 5943323aff9db6c1405177478564072e9d2214b3 (diff) | |
download | mana-567d35731d8cca0e535f23652b8fbe050a629f91.tar.gz mana-567d35731d8cca0e535f23652b8fbe050a629f91.tar.bz2 mana-567d35731d8cca0e535f23652b8fbe050a629f91.tar.xz mana-567d35731d8cca0e535f23652b8fbe050a629f91.zip |
* Fixed issue with determining whether chat input is focused (method no longer
virtual).
* Fixed sometimes rendering with the wrong font.
* Fixed warnings about hiding virtual method, Window now always deletes its
children (the option not to do so was never used anyway).
Diffstat (limited to 'src/gui/window.h')
-rw-r--r-- | src/gui/window.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/gui/window.h b/src/gui/window.h index 9ca435a9..f88e5c01 100644 --- a/src/gui/window.h +++ b/src/gui/window.h @@ -76,14 +76,16 @@ class Window : public gcn::Window, gcn::WidgetListener void draw(gcn::Graphics *graphics); /** - * Adds a widget to the window. + * Adds a widget to the window. The widget will be deleted by the + * window. */ - void add(gcn::Widget *wi, bool delChild = true); + void add(gcn::Widget *w); /** - * Adds a widget to the window and also specifices its position. + * Adds a widget to the window and also specifices its position. The + * widget will be deleted by the window. */ - void add(gcn::Widget *w, int x, int y, bool delChild = true); + void add(gcn::Widget *w, int x, int y); /** * Sets the size of this window. |