summaryrefslogtreecommitdiff
path: root/src/graphic/graphic.cpp
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2004-12-28 10:48:44 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2004-12-28 10:48:44 +0000
commit33bcf31d8eb5c7712e8a9d0b31489186a5c68521 (patch)
tree67e08d0e5ef4c40caee79e97402a43b2a4a9bca7 /src/graphic/graphic.cpp
parent4542a711526bfcd09184436eda440b10bb92fbed (diff)
downloadmana-client-33bcf31d8eb5c7712e8a9d0b31489186a5c68521.tar.gz
mana-client-33bcf31d8eb5c7712e8a9d0b31489186a5c68521.tar.bz2
mana-client-33bcf31d8eb5c7712e8a9d0b31489186a5c68521.tar.xz
mana-client-33bcf31d8eb5c7712e8a9d0b31489186a5c68521.zip
Renamed stats dialog to status dialog, which it is and to make room for the
real stats dialog that is currently called the skill dialog.
Diffstat (limited to 'src/graphic/graphic.cpp')
-rw-r--r--src/graphic/graphic.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/graphic/graphic.cpp b/src/graphic/graphic.cpp
index d37cafac..8627edd2 100644
--- a/src/graphic/graphic.cpp
+++ b/src/graphic/graphic.cpp
@@ -22,8 +22,8 @@
#include "graphic.h"
#include "2xsai.h"
#include "../gui/gui.h"
-#include "../gui/stats.h"
#include "../gui/textfield.h"
+#include "../gui/status.h"
#define TILESET_W 480
#define TILESET_H 320
@@ -53,7 +53,7 @@ char npc_button[10] = "Close";
gcn::TextField *chatInput;
-StatsDialog *statsDialog;
+StatusDialog *statusDialog;
BuyDialog *buyDialog;
BuySellDialog *buySellDialog;
InventoryDialog *inventoryDialog;
@@ -213,8 +213,8 @@ void init_graphic() {
// Create dialogs
- statsDialog = new StatsDialog(guiTop);
- statsDialog->setPosition(SCREEN_W - statsDialog->getWidth() - 10, 10);
+ statusDialog = new StatusDialog(guiTop);
+ statusDialog->setPosition(SCREEN_W - statusDialog->getWidth() - 10, 10);
buyDialog = new BuyDialog(guiTop);
buyDialog->setVisible(false);
@@ -607,7 +607,7 @@ void do_graphic(void) {
}
// Update character status display
- statsDialog->update();
+ statusDialog->update();
// Update GUI
guiGraphics->setTarget(vpage[page_num]);
@@ -625,7 +625,7 @@ void do_graphic(void) {
}
void exit_graphic() {
- delete statsDialog;
+ delete statusDialog;
delete buyDialog;
shutdown_dialog(npc_player);