summaryrefslogtreecommitdiff
path: root/src/gui/gui.h
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2005-03-20 12:50:26 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2005-03-20 12:50:26 +0000
commit90e5ce7e958418f0d39d38112d33d3190a78baea (patch)
tree012150b22e971e44d0f7e795ef48384e15392940 /src/gui/gui.h
parent9ca202ae89bbe60f2cd1c8e3249a4fe3f8972a2b (diff)
downloadmana-client-90e5ce7e958418f0d39d38112d33d3190a78baea.tar.gz
mana-client-90e5ce7e958418f0d39d38112d33d3190a78baea.tar.bz2
mana-client-90e5ce7e958418f0d39d38112d33d3190a78baea.tar.xz
mana-client-90e5ce7e958418f0d39d38112d33d3190a78baea.zip
TMW now uses latest Guichan CVS, and doesn't work with Guichan 0.2.0 anymore!
Also fixed a crash on clicking wallpaper in login phase.
Diffstat (limited to 'src/gui/gui.h')
-rw-r--r--src/gui/gui.h19
1 files changed, 1 insertions, 18 deletions
diff --git a/src/gui/gui.h b/src/gui/gui.h
index 3bcffc5d..5051b788 100644
--- a/src/gui/gui.h
+++ b/src/gui/gui.h
@@ -38,7 +38,7 @@
*
* \ingroup GUI
*/
-class Gui : public gcn::MouseListener
+class Gui : public gcn::Gui, public gcn::MouseListener
{
public:
/**
@@ -52,21 +52,6 @@ class Gui : public gcn::MouseListener
~Gui();
/**
- * Focus none of the Widgets in the Gui.
- */
- void focusNone();
-
- /**
- * Performs the Gui:s logic by calling all logic functions
- * down in the Gui heirarchy. Logic can be just about anything
- * like adjusting a Widgets size or doing some calculations.
- *
- * NOTE: Logic also deals with user input (Mouse and Keyboard)
- * for Widgets.
- */
- void logic();
-
- /**
* Draws the whole Gui by calling draw functions down in the
* Gui hierarchy. It also draws the mouse pointer.
*/
@@ -86,8 +71,6 @@ class Gui : public gcn::MouseListener
gcn::ImageFont *guiFont; /**< The global GUI font */
bool topHasMouse;
-
- gcn::FocusHandler *focusHandler;
};
extern Gui *gui;