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/resources/theme.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/resources/theme.h')
-rw-r--r-- | src/resources/theme.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/resources/theme.h b/src/resources/theme.h index 3a5aa41a..f830c94f 100644 --- a/src/resources/theme.h +++ b/src/resources/theme.h @@ -24,8 +24,8 @@ #ifndef SKIN_H #define SKIN_H -#include "configlistener.h" #include "graphics.h" +#include "listener.h" #include "gui/palette.h" @@ -100,7 +100,7 @@ class Skin Image *mStickyImageDown; /**< Sticky Button Image */ }; -class Theme : public Palette, public ConfigListener +class Theme : public Palette, public Mana::Listener { public: static Theme *instance(); @@ -218,7 +218,7 @@ class Theme : public Palette, public ConfigListener */ void setMinimumOpacity(float minimumOpacity); - void optionChanged(const std::string &); + void event(Channels channel, const Mana::Event &event); private: Theme(); |