diff options
author | Björn Steinbrink <B.Steinbrink@gmx.de> | 2005-08-27 18:27:56 +0000 |
---|---|---|
committer | Björn Steinbrink <B.Steinbrink@gmx.de> | 2005-08-27 18:27:56 +0000 |
commit | b4c187739022b9c2cec149c00f6291bde982b567 (patch) | |
tree | 655121a52a3534da1c0d4ab8153d3964fa39b71b /src/gui/stats.cpp | |
parent | ef571e7244d94237e59fc95317343da95efea6ce (diff) | |
download | mana-b4c187739022b9c2cec149c00f6291bde982b567.tar.gz mana-b4c187739022b9c2cec149c00f6291bde982b567.tar.bz2 mana-b4c187739022b9c2cec149c00f6291bde982b567.tar.xz mana-b4c187739022b9c2cec149c00f6291bde982b567.zip |
Update stats and status window contents at a single location.
Diffstat (limited to 'src/gui/stats.cpp')
-rw-r--r-- | src/gui/stats.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/gui/stats.cpp b/src/gui/stats.cpp index c5afe82d..f03d2bfc 100644 --- a/src/gui/stats.cpp +++ b/src/gui/stats.cpp @@ -142,6 +142,13 @@ StatsWindow::~StatsWindow() { delete remainingStatsPointsLabel; } +void StatsWindow::draw(gcn::Graphics *graphics) +{ + update(); + + Window::draw(graphics); +} + void StatsWindow::action(const std::string& eventId) { WFIFOW(0) = net_w_value(0x00bb); |