summaryrefslogtreecommitdiff
path: root/src/gui/viewport.h
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2010-08-02 02:32:18 -0600
committerJared Adams <jaxad0127@gmail.com>2010-08-02 02:48:03 -0600
commit42f6993e0deacc857302f48004031dd45b739874 (patch)
treef8a25e94b32257c1364864824fcf61c83b834d6d /src/gui/viewport.h
parent6a0e5f20c9faf7623a465daa4a8b350d3a52e5e6 (diff)
downloadmana-42f6993e0deacc857302f48004031dd45b739874.tar.gz
mana-42f6993e0deacc857302f48004031dd45b739874.tar.bz2
mana-42f6993e0deacc857302f48004031dd45b739874.tar.xz
mana-42f6993e0deacc857302f48004031dd45b739874.zip
Remove non-GUI references to MiniStatusWindow
Reviewed-by: Freeyorp
Diffstat (limited to 'src/gui/viewport.h')
-rw-r--r--src/gui/viewport.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/gui/viewport.h b/src/gui/viewport.h
index f91504f2..eaf23085 100644
--- a/src/gui/viewport.h
+++ b/src/gui/viewport.h
@@ -22,6 +22,7 @@
#ifndef VIEWPORT_H
#define VIEWPORT_H
+#include "actorspritelistener.h"
#include "actorspritemanager.h"
#include "configlistener.h"
#include "position.h"
@@ -53,7 +54,7 @@ const int walkingMouseDelay = 500;
* coordinates.
*/
class Viewport : public WindowContainer, public gcn::MouseListener,
- public ConfigListener
+ public ConfigListener, public ActorSpriteListener
{
public:
/**
@@ -159,11 +160,7 @@ class Viewport : public WindowContainer, public gcn::MouseListener,
*/
void hideBeingPopup();
- protected:
- friend class ActorSpriteManager;
-
- /// Clears any matching hovers
- void clearHover(ActorSprite *actor);
+ void actorSpriteDestroyed(const ActorSprite &actorSprite);
private:
/**