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/gui | |
parent | 33bcf31d8eb5c7712e8a9d0b31489186a5c68521 (diff) | |
download | mana-8063086435d6ce9ec848e9962287cd6c97001ca4.tar.gz mana-8063086435d6ce9ec848e9962287cd6c97001ca4.tar.bz2 mana-8063086435d6ce9ec848e9962287cd6c97001ca4.tar.xz mana-8063086435d6ce9ec848e9962287cd6c97001ca4.zip |
Oh and the status dialog was actually just a window.
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/status.cpp | 6 | ||||
-rw-r--r-- | src/gui/status.h | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/src/gui/status.cpp b/src/gui/status.cpp index 026ac9a3..454b42b3 100644 --- a/src/gui/status.cpp +++ b/src/gui/status.cpp @@ -23,7 +23,7 @@ #include "status.h" -StatusDialog::StatusDialog(gcn::Container *parent): +StatusWindow::StatusWindow(gcn::Container *parent): Window(parent, "%s Lvl: % 2i Job: % 2i") { hp = new gcn::Label("HP"); @@ -46,7 +46,7 @@ StatusDialog::StatusDialog(gcn::Container *parent): add(manaBar); } -StatusDialog::~StatusDialog() +StatusWindow::~StatusWindow() { delete hp; delete sp; @@ -55,7 +55,7 @@ StatusDialog::~StatusDialog() delete manaBar; } -void StatusDialog::update() +void StatusWindow::update() { char *tempstr = new char[64]; diff --git a/src/gui/status.h b/src/gui/status.h index 49a9595d..bf5758bf 100644 --- a/src/gui/status.h +++ b/src/gui/status.h @@ -39,10 +39,10 @@ * * \ingroup GUI */ -class StatusDialog : public Window { +class StatusWindow : public Window { public: - StatusDialog(gcn::Container *parent); - ~StatusDialog(); + StatusWindow(gcn::Container *parent); + ~StatusWindow(); /** * Updates this dialog with values from PLAYER_INFO *char_info |