summaryrefslogtreecommitdiff
path: root/src/graphic/graphic.cpp
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2004-12-28 11:21:47 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2004-12-28 11:21:47 +0000
commitf8a90f4964ad694e1d6166f82b51897629df487c (patch)
tree53686556cefa059dda6da3cc8315000f3d3c3744 /src/graphic/graphic.cpp
parent8063086435d6ce9ec848e9962287cd6c97001ca4 (diff)
downloadmana-client-f8a90f4964ad694e1d6166f82b51897629df487c.tar.gz
mana-client-f8a90f4964ad694e1d6166f82b51897629df487c.tar.bz2
mana-client-f8a90f4964ad694e1d6166f82b51897629df487c.tar.xz
mana-client-f8a90f4964ad694e1d6166f82b51897629df487c.zip
Inventory dialog is also not a dialog.
Diffstat (limited to 'src/graphic/graphic.cpp')
-rw-r--r--src/graphic/graphic.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/graphic/graphic.cpp b/src/graphic/graphic.cpp
index 547a6256..736677e6 100644
--- a/src/graphic/graphic.cpp
+++ b/src/graphic/graphic.cpp
@@ -56,7 +56,7 @@ gcn::TextField *chatInput;
StatusWindow *statusWindow;
BuyDialog *buyDialog;
BuySellDialog *buySellDialog;
-InventoryDialog *inventoryDialog;
+InventoryWindow *inventoryWindow;
void ChatListener::action(const std::string& eventId)
{
@@ -222,9 +222,9 @@ void init_graphic() {
buySellDialog = new BuySellDialog(guiTop, new BuySellListener());
buySellDialog->setVisible(false);
- inventoryDialog = new InventoryDialog(guiTop);
- inventoryDialog->setVisible(false);
- inventoryDialog->setPosition(100, 100);
+ inventoryWindow = new InventoryWindow(guiTop);
+ inventoryWindow->setVisible(false);
+ inventoryWindow->setPosition(100, 100);
npc_player = init_dialog(npc_dialog, -1);
position_dialog(npc_dialog, 300, 200);