summaryrefslogtreecommitdiff
path: root/src/gui/theme.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-04-30 14:08:37 +0300
committerAndrei Karas <akaras@inbox.ru>2013-04-30 14:08:37 +0300
commit1cffd95a2d98736c2d0dc2f382995889ceaef86a (patch)
tree9bb16984a2cc28daf7521beb2f9125f0b0ea77da /src/gui/theme.h
parent27a4c8b4acdf5f433f42b5dce97f95f391e36cbf (diff)
downloadmanaverse-1cffd95a2d98736c2d0dc2f382995889ceaef86a.tar.gz
manaverse-1cffd95a2d98736c2d0dc2f382995889ceaef86a.tar.bz2
manaverse-1cffd95a2d98736c2d0dc2f382995889ceaef86a.tar.xz
manaverse-1cffd95a2d98736c2d0dc2f382995889ceaef86a.zip
add support for set fonts and font sizes from themes.
Changed default font size from 11 to 12 px.
Diffstat (limited to 'src/gui/theme.h')
-rw-r--r--src/gui/theme.h18
1 files changed, 17 insertions, 1 deletions
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