summaryrefslogtreecommitdiff
path: root/src/gui/viewport.cpp
diff options
context:
space:
mode:
authorFate <fate-tmw@googlemail.com>2008-12-07 04:00:55 -0700
committerFate <fate-tmw@googlemail.com>2008-12-07 04:00:55 -0700
commit3fcd6a549fc825f4185a6dc248922e02988caed5 (patch)
tree2def3534088760ec3d06860eb0af936ec1e66b5b /src/gui/viewport.cpp
parent68923d079602d8a8b7f35e1b56032e03e323ea09 (diff)
downloadmana-3fcd6a549fc825f4185a6dc248922e02988caed5.tar.gz
mana-3fcd6a549fc825f4185a6dc248922e02988caed5.tar.bz2
mana-3fcd6a549fc825f4185a6dc248922e02988caed5.tar.xz
mana-3fcd6a549fc825f4185a6dc248922e02988caed5.zip
Added client-side status change handlers (text, icon, particle effect, audio).
Diffstat (limited to 'src/gui/viewport.cpp')
-rw-r--r--src/gui/viewport.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gui/viewport.cpp b/src/gui/viewport.cpp
index 37e7bcce..4b661ba3 100644
--- a/src/gui/viewport.cpp
+++ b/src/gui/viewport.cpp
@@ -25,6 +25,7 @@
#include "gui.h"
#include "popupmenu.h"
+#include "ministatus.h"
#include "../simpleanimation.h"
#include "../beingmanager.h"
@@ -137,6 +138,8 @@ Viewport::setMap(Map *map)
mMap = map;
}
+extern MiniStatusWindow *miniStatusWindow;
+
void
Viewport::draw(gcn::Graphics *gcnGraphics)
{
@@ -268,6 +271,9 @@ Viewport::draw(gcn::Graphics *gcnGraphics)
(*i)->drawEmotion(graphics, -(int) mPixelViewX, -(int) mPixelViewY);
}
+ if (miniStatusWindow)
+ miniStatusWindow->drawIcons(graphics);
+
// Draw contained widgets
WindowContainer::draw(gcnGraphics);
}