diff options
Diffstat (limited to 'src/graphic')
-rw-r--r-- | src/graphic/graphic.cpp | 8 | ||||
-rw-r--r-- | src/graphic/graphic.h | 2 |
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 { |