From dcfc97836830d4100a0a520b77d68d908314ee60 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 25 Jun 2012 22:35:30 +0300 Subject: Add npc font size with 13 pixels size. --- src/gui/gui.h | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) (limited to 'src/gui/gui.h') 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 @@ -97,6 +97,12 @@ class Gui : public gcn::Gui SDLFont *getSecureFont() const { 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 -- cgit v1.2.3-70-g09d2