diff options
author | Chuck Miller <shadowmil@gmail.com> | 2010-11-13 17:00:46 -0500 |
---|---|---|
committer | Chuck Miller <shadowmil@gmail.com> | 2010-11-13 17:39:15 -0500 |
commit | f8d22e47ac3b6392d68f1a8a45383798f5751101 (patch) | |
tree | e29b42821ec8f6e579f2cfd4d2a20bc8c248b930 /src/gui/viewport.h | |
parent | 8e7e63a2473eedd36eeef726e45dacc9d17d157a (diff) | |
download | mana-f8d22e47ac3b6392d68f1a8a45383798f5751101.tar.gz mana-f8d22e47ac3b6392d68f1a8a45383798f5751101.tar.bz2 mana-f8d22e47ac3b6392d68f1a8a45383798f5751101.tar.xz mana-f8d22e47ac3b6392d68f1a8a45383798f5751101.zip |
Replace config listeners with the event system
Reviewed-by: Jared Adams
Diffstat (limited to 'src/gui/viewport.h')
-rw-r--r-- | src/gui/viewport.h | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/gui/viewport.h b/src/gui/viewport.h index 9fbdf496..3b449371 100644 --- a/src/gui/viewport.h +++ b/src/gui/viewport.h @@ -23,7 +23,6 @@ #define VIEWPORT_H #include "actorspritemanager.h" -#include "configlistener.h" #include "listener.h" #include "position.h" @@ -54,7 +53,7 @@ const int walkingMouseDelay = 500; * coordinates. */ class Viewport : public WindowContainer, public gcn::MouseListener, - public ConfigListener, public Mana::Listener + public Mana::Listener { public: /** @@ -121,11 +120,6 @@ class Viewport : public WindowContainer, public gcn::MouseListener, void closePopupMenu(); /** - * A relevant config option changed. - */ - void optionChanged(const std::string &name); - - /** * Returns camera x offset in pixels. */ int getCameraX() const { return (int) mPixelViewX; } |