From 1cffd95a2d98736c2d0dc2f382995889ceaef86a Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 30 Apr 2013 14:08:37 +0300 Subject: add support for set fonts and font sizes from themes. Changed default font size from 11 to 12 px. --- src/gui/theme.h | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) (limited to 'src/gui/theme.h') diff --git a/src/gui/theme.h b/src/gui/theme.h index fcd0f5614..222d0d098 100644 --- a/src/gui/theme.h +++ b/src/gui/theme.h @@ -45,11 +45,27 @@ struct ThemeInfo final { ThemeInfo() : name(), - copyright() + copyright(), + font(), + boldFont(), + particleFont(), + helpFont(), + secureFont(), + japanFont(), + fontSize(0), + npcfontSize(0) { } std::string name; std::string copyright; + std::string font; + std::string boldFont; + std::string particleFont; + std::string helpFont; + std::string secureFont; + std::string japanFont; + int fontSize; + int npcfontSize; }; class Skin final -- cgit v1.2.3-70-g09d2