diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2006-12-05 23:17:45 +0000 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2006-12-05 23:17:45 +0000 |
commit | 3f81292e7b98817575b7830b218845d63e38dcd2 (patch) | |
tree | a872c3124720b0328bd5007833e01baf2003ee73 | |
parent | 2542ccea72e93569bfc48bee10107dd0e159f915 (diff) | |
download | mana-3f81292e7b98817575b7830b218845d63e38dcd2.tar.gz mana-3f81292e7b98817575b7830b218845d63e38dcd2.tar.bz2 mana-3f81292e7b98817575b7830b218845d63e38dcd2.tar.xz mana-3f81292e7b98817575b7830b218845d63e38dcd2.zip |
Fixed visibility of item amount window.
-rw-r--r-- | ChangeLog | 8 | ||||
-rw-r--r-- | src/gui/gui.cpp | 1 | ||||
-rw-r--r-- | src/gui/item_amount.cpp | 3 |
3 files changed, 9 insertions, 3 deletions
@@ -1,10 +1,14 @@ -2006-12-05 Philipp Sehmisch <tmw@crushnet.org> +2006-12-06 Bjørn Lindeijer <bjorn@lindeijer.nl> + + * src/gui/item_amount.cpp: Fixed visibility of item amount window. + +2006-12-05 Philipp Sehmisch <tmw@crushnet.org> * data/graphics/tiles/desert1.png: Improved the tiling behavior of the cliffs (still not gridless but at least the edges fit together in the most common situations) -2006-12-04 Bjørn Lindeijer <bjorn@lindeijer> +2006-12-04 Bjørn Lindeijer <bjorn@lindeijer.nl> * src/game.cpp, src/engine.h, src/gui/windowcontainer.h, src/gui/viewport.cpp, src/gui/gui.cpp, src/gui/gui.h, diff --git a/src/gui/gui.cpp b/src/gui/gui.cpp index 8d323fb8..cc338fa8 100644 --- a/src/gui/gui.cpp +++ b/src/gui/gui.cpp @@ -184,6 +184,7 @@ Gui::~Gui() delete mGuiFont; delete speechFont; + delete viewport; delete mTop; delete mImageLoader; delete mHostImageLoader; diff --git a/src/gui/item_amount.cpp b/src/gui/item_amount.cpp index 3f8daddd..afc3ac44 100644 --- a/src/gui/item_amount.cpp +++ b/src/gui/item_amount.cpp @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id $ + * $Id$ */ #include "item_amount.h" @@ -87,6 +87,7 @@ ItemAmountWindow::ItemAmountWindow(int usage, Window *parent, Item *item): setContentSize(200, 80); setLocationRelativeTo(getParentWindow()); + setVisible(true); } void ItemAmountWindow::resetAmount() |