summaryrefslogtreecommitdiff
path: root/src/gui/gui.h
diff options
context:
space:
mode:
authorBjörn Steinbrink <B.Steinbrink@gmx.de>2005-10-13 10:26:11 +0000
committerBjörn Steinbrink <B.Steinbrink@gmx.de>2005-10-13 10:26:11 +0000
commitacf69fd277e17c6bdf001551697d7321f84909df (patch)
tree6f0468ec702d573fecabca0184d2cc2eec4d52f5 /src/gui/gui.h
parent39d944df9a84882925e587e2d0c39759ea129c8b (diff)
downloadmana-acf69fd277e17c6bdf001551697d7321f84909df.tar.gz
mana-acf69fd277e17c6bdf001551697d7321f84909df.tar.bz2
mana-acf69fd277e17c6bdf001551697d7321f84909df.tar.xz
mana-acf69fd277e17c6bdf001551697d7321f84909df.zip
Use gcn::Font instead of gcn::ImageFont as pointer type.
Diffstat (limited to 'src/gui/gui.h')
-rw-r--r--src/gui/gui.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/gui/gui.h b/src/gui/gui.h
index 1c1d5f8c..238ee38e 100644
--- a/src/gui/gui.h
+++ b/src/gui/gui.h
@@ -82,7 +82,7 @@ class Gui : public gcn::Gui, public gcn::MouseListener
/**
* Return game font
*/
- gcn::ImageFont*
+ gcn::Font*
getFont() { return mGuiFont; }
/**
@@ -101,7 +101,7 @@ class Gui : public gcn::Gui, public gcn::MouseListener
GuiConfigListener *mConfigListener;
gcn::ImageLoader *mHostImageLoader; /**< For loading images in GL */
gcn::ImageLoader *mImageLoader; /**< For loading images */
- gcn::ImageFont *mGuiFont; /**< The global GUI font */
+ gcn::Font *mGuiFont; /**< The global GUI font */
Image *mMouseCursor; /**< Mouse cursor image */
bool mCustomCursor; /**< Show custom cursor */
};
@@ -112,12 +112,12 @@ extern gcn::SDLInput *guiInput; /**< GUI input */
/**
* Fonts used in showing hits
*/
-extern gcn::ImageFont *hitRedFont;
-extern gcn::ImageFont *hitBlueFont;
-extern gcn::ImageFont *hitYellowFont;
+extern gcn::Font *hitRedFont;
+extern gcn::Font *hitBlueFont;
+extern gcn::Font *hitYellowFont;
/**
* Font used to display speech and player names
*/
-extern gcn::ImageFont *speechFont;
+extern gcn::Font *speechFont;
#endif