summaryrefslogtreecommitdiff
path: root/src/gui/gui.h
diff options
context:
space:
mode:
authorBjörn Steinbrink <B.Steinbrink@gmx.de>2005-08-28 19:05:13 +0000
committerBjörn Steinbrink <B.Steinbrink@gmx.de>2005-08-28 19:05:13 +0000
commit4b94d5bf99b0ca29f45f3e0688e29e43f4a05f7a (patch)
tree7cc9d951edfc15c103f856ad7aaa256937ca7ee4 /src/gui/gui.h
parent767aa0301a6b16fb4950e6d1eef21346269aa3d1 (diff)
downloadmana-4b94d5bf99b0ca29f45f3e0688e29e43f4a05f7a.tar.gz
mana-4b94d5bf99b0ca29f45f3e0688e29e43f4a05f7a.tar.bz2
mana-4b94d5bf99b0ca29f45f3e0688e29e43f4a05f7a.tar.xz
mana-4b94d5bf99b0ca29f45f3e0688e29e43f4a05f7a.zip
Create a GuiConfigListener class.
Diffstat (limited to 'src/gui/gui.h')
-rw-r--r--src/gui/gui.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gui/gui.h b/src/gui/gui.h
index 80a4ee7d..959fa2ed 100644
--- a/src/gui/gui.h
+++ b/src/gui/gui.h
@@ -26,9 +26,9 @@
#include <guichan/gui.hpp>
-#include "../configlistener.h"
#include "../guichanfwd.h"
+class GuiConfigListener;
class Graphics;
class Image;
class WindowContainer;
@@ -46,7 +46,7 @@ class WindowContainer;
*
* \ingroup GUI
*/
-class Gui : public gcn::Gui, public gcn::MouseListener, ConfigListener
+class Gui : public gcn::Gui, public gcn::MouseListener
{
public:
/**
@@ -97,6 +97,7 @@ class Gui : public gcn::Gui, public gcn::MouseListener, ConfigListener
optionChanged(const std::string &name);
private:
+ GuiConfigListener *mConfigListener;
gcn::ImageLoader *mHostImageLoader; /**< For loading images in GL */
gcn::ImageLoader *mImageLoader; /**< For loading images */
gcn::ImageFont *mGuiFont; /**< The global GUI font */