summaryrefslogtreecommitdiff
path: root/src/graphic
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
parent8063086435d6ce9ec848e9962287cd6c97001ca4 (diff)
downloadmana-f8a90f4964ad694e1d6166f82b51897629df487c.tar.gz
mana-f8a90f4964ad694e1d6166f82b51897629df487c.tar.bz2
mana-f8a90f4964ad694e1d6166f82b51897629df487c.tar.xz
mana-f8a90f4964ad694e1d6166f82b51897629df487c.zip
Inventory dialog is also not a dialog.
Diffstat (limited to 'src/graphic')
-rw-r--r--src/graphic/graphic.cpp8
-rw-r--r--src/graphic/graphic.h2
2 files changed, 5 insertions, 5 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);
diff --git a/src/graphic/graphic.h b/src/graphic/graphic.h
index 17cc3d5c..dd42a4ad 100644
--- a/src/graphic/graphic.h
+++ b/src/graphic/graphic.h
@@ -53,7 +53,7 @@ extern char npc_button[10];
extern StatusWindow *statusWindow;
extern BuyDialog *buyDialog;
extern BuySellDialog *buySellDialog;
-extern InventoryDialog *inventoryDialog;
+extern InventoryWindow *inventoryWindow;
// The action listener for the chat field
class ChatListener : public gcn::ActionListener {