diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2007-08-24 09:14:27 +0000 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2007-08-24 09:14:27 +0000 |
commit | 78e280de977329aec2b9ad5926882dc9af4d152d (patch) | |
tree | 44f3dbc5115982a15171dfe8a12884bbcb043bfd /src/gui/gui.h | |
parent | b0969b283f6c8bb0701f74e61f8086963f44ff93 (diff) | |
download | mana-78e280de977329aec2b9ad5926882dc9af4d152d.tar.gz mana-78e280de977329aec2b9ad5926882dc9af4d152d.tar.bz2 mana-78e280de977329aec2b9ad5926882dc9af4d152d.tar.xz mana-78e280de977329aec2b9ad5926882dc9af4d152d.zip |
Removed useless logic method and reverted mouse cursor to non-static since
there can be only one Gui instance so there is no point in supporting a shared
resource.
Diffstat (limited to 'src/gui/gui.h')
-rw-r--r-- | src/gui/gui.h | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/src/gui/gui.h b/src/gui/gui.h index 21b10454..70afbb79 100644 --- a/src/gui/gui.h +++ b/src/gui/gui.h @@ -60,12 +60,6 @@ class Gui : public gcn::Gui ~Gui(); /** - * Works around Guichan bug - */ - void - logic(); - - /** * Draws the whole Gui by calling draw functions down in the * Gui hierarchy. It also draws the mouse pointer. */ @@ -119,9 +113,8 @@ class Gui : public gcn::Gui gcn::ImageLoader *mImageLoader; /**< For loading images */ gcn::Font *mGuiFont; /**< The global GUI font */ bool mCustomCursor; /**< Show custom cursor */ + ImageSet *mMouseCursors; /**< Mouse cursor images */ int mCursorType; - - static ImageSet *mMouseCursor; /**< Mouse cursor images */ }; extern Gui *gui; /**< The GUI system */ |