diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2004-12-28 11:12:56 +0000 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2004-12-28 11:12:56 +0000 |
commit | 8063086435d6ce9ec848e9962287cd6c97001ca4 (patch) | |
tree | 69e744ca52bc01309bc5729a4513032838b49662 /src/graphic | |
parent | 33bcf31d8eb5c7712e8a9d0b31489186a5c68521 (diff) | |
download | mana-client-8063086435d6ce9ec848e9962287cd6c97001ca4.tar.gz mana-client-8063086435d6ce9ec848e9962287cd6c97001ca4.tar.bz2 mana-client-8063086435d6ce9ec848e9962287cd6c97001ca4.tar.xz mana-client-8063086435d6ce9ec848e9962287cd6c97001ca4.zip |
Oh and the status dialog was actually just a window.
Diffstat (limited to 'src/graphic')
-rw-r--r-- | src/graphic/graphic.cpp | 10 | ||||
-rw-r--r-- | src/graphic/graphic.h | 2 |
2 files changed, 6 insertions, 6 deletions
diff --git a/src/graphic/graphic.cpp b/src/graphic/graphic.cpp index 8627edd2..547a6256 100644 --- a/src/graphic/graphic.cpp +++ b/src/graphic/graphic.cpp @@ -53,7 +53,7 @@ char npc_button[10] = "Close"; gcn::TextField *chatInput; -StatusDialog *statusDialog; +StatusWindow *statusWindow; BuyDialog *buyDialog; BuySellDialog *buySellDialog; InventoryDialog *inventoryDialog; @@ -213,8 +213,8 @@ void init_graphic() { // Create dialogs - statusDialog = new StatusDialog(guiTop); - statusDialog->setPosition(SCREEN_W - statusDialog->getWidth() - 10, 10); + statusWindow = new StatusWindow(guiTop); + statusWindow->setPosition(SCREEN_W - statusWindow->getWidth() - 10, 10); buyDialog = new BuyDialog(guiTop); buyDialog->setVisible(false); @@ -607,7 +607,7 @@ void do_graphic(void) { } // Update character status display - statusDialog->update(); + statusWindow->update(); // Update GUI guiGraphics->setTarget(vpage[page_num]); @@ -625,7 +625,7 @@ void do_graphic(void) { } void exit_graphic() { - delete statusDialog; + delete statusWindow; delete buyDialog; shutdown_dialog(npc_player); diff --git a/src/graphic/graphic.h b/src/graphic/graphic.h index 5b6acdc4..17cc3d5c 100644 --- a/src/graphic/graphic.h +++ b/src/graphic/graphic.h @@ -50,7 +50,7 @@ extern int map_x, map_y, camera_x, camera_y; extern BITMAP *hairset; extern char npc_button[10]; -extern StatusDialog *statusDialog; +extern StatusWindow *statusWindow; extern BuyDialog *buyDialog; extern BuySellDialog *buySellDialog; extern InventoryDialog *inventoryDialog; |