diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2005-05-16 21:53:10 +0000 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2005-05-16 21:53:10 +0000 |
commit | f80bf2dfb4de682a56abe79b7b0e5e0459804b30 (patch) | |
tree | cc45a8a6dfa7abe41b9f13fabffbb6287513cf46 /src/gui/gui.h | |
parent | 6a25f872d6102058c8186398627abc5d84f2363a (diff) | |
download | mana-f80bf2dfb4de682a56abe79b7b0e5e0459804b30.tar.gz mana-f80bf2dfb4de682a56abe79b7b0e5e0459804b30.tar.bz2 mana-f80bf2dfb4de682a56abe79b7b0e5e0459804b30.tar.xz mana-f80bf2dfb4de682a56abe79b7b0e5e0459804b30.zip |
Made button, checkbox and radiobutton count their instances and only load their
resources once. Other widgets will follow later.
Diffstat (limited to 'src/gui/gui.h')
-rw-r--r-- | src/gui/gui.h | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/src/gui/gui.h b/src/gui/gui.h index 35b7e21f..1c8ccb34 100644 --- a/src/gui/gui.h +++ b/src/gui/gui.h @@ -72,19 +72,16 @@ class Gui : public gcn::Gui, public gcn::MouseListener void mousePress(int mx, int my, int button); private: - gcn::Gui *gui; /**< The GUI system */ #ifdef USE_OPENGL gcn::ImageLoader *hostImageLoader; /**< For loading images in GL */ #endif gcn::ImageLoader *imageLoader; /**< For loading images */ gcn::ImageFont *guiFont; /**< The global GUI font */ - - bool topHasMouse; }; -extern Gui *gui; -extern WindowContainer *guiTop; // The top container -extern Graphics *guiGraphics; // Graphics driver -extern gcn::SDLInput *guiInput; // GUI input +extern Gui *gui; /**< The GUI system */ +extern WindowContainer *guiTop; /**< The top container */ +extern Graphics *guiGraphics; /**< Graphics driver */ +extern gcn::SDLInput *guiInput; /**< GUI input */ #endif |