summaryrefslogtreecommitdiff
path: root/src/gui/gui.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-06-25 22:35:30 +0300
committerAndrei Karas <akaras@inbox.ru>2012-06-25 22:35:30 +0300
commitdcfc97836830d4100a0a520b77d68d908314ee60 (patch)
treec35eccea345638b1abe2a3875065a36065bf8691 /src/gui/gui.h
parentf939a7bbbc19bb69726377eed7b36542d6a5cf3f (diff)
downloadmanaverse-dcfc97836830d4100a0a520b77d68d908314ee60.tar.gz
manaverse-dcfc97836830d4100a0a520b77d68d908314ee60.tar.bz2
manaverse-dcfc97836830d4100a0a520b77d68d908314ee60.tar.xz
manaverse-dcfc97836830d4100a0a520b77d68d908314ee60.zip
Add npc font size with 13 pixels size.
Diffstat (limited to 'src/gui/gui.h')
-rw-r--r--src/gui/gui.h21
1 files changed, 14 insertions, 7 deletions
diff --git a/src/gui/gui.h b/src/gui/gui.h
index 9468d2b68..6df01a5a9 100644
--- a/src/gui/gui.h
+++ b/src/gui/gui.h
@@ -98,6 +98,12 @@ class Gui : public gcn::Gui
{ return mSecureFont; }
/**
+ * Return npc font.
+ */
+ SDLFont *getNpcFont() const
+ { return mNpcFont; }
+
+ /**
* Return the Font used for "Info Particles", i.e. ones showing, what
* you picked up, etc.
*/
@@ -151,18 +157,19 @@ class Gui : public gcn::Gui
private:
GuiConfigListener *mConfigListener;
SDLFont *mGuiFont; /**< The global GUI font */
- SDLFont *mInfoParticleFont; /**< Font for Info Particles*/
- SDLFont *mHelpFont; /**< Font for Help Window*/
- SDLFont *mSecureFont; /**< Font for secure labels*/
- bool mCustomCursor; /**< Show custom cursor */
- ImageSet *mMouseCursors; /**< Mouse cursor images */
+ SDLFont *mInfoParticleFont; /**< Font for Info Particles */
+ SDLFont *mHelpFont; /**< Font for Help Window */
+ SDLFont *mSecureFont; /**< Font for secure labels */
+ SDLFont *mNpcFont; /**< Font for npc text */
+ bool mCustomCursor; /**< Show custom cursor */
+ ImageSet *mMouseCursors; /**< Mouse cursor images */
float mMouseCursorAlpha;
int mMouseInactivityTimer;
int mCursorType;
};
-extern Gui *gui; /**< The GUI system */
-extern SDLInput *guiInput; /**< GUI input */
+extern Gui *gui; /**< The GUI system */
+extern SDLInput *guiInput; /**< GUI input */
/**
* Bolded text font