From 6673373236287df9ee52a1a01c2c70cd63a8be46 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 14 May 2014 01:35:22 +0300 Subject: Move themeinfo into separate file. --- src/gui/theme.h | 35 ++--------------------------------- 1 file changed, 2 insertions(+), 33 deletions(-) (limited to 'src/gui/theme.h') diff --git a/src/gui/theme.h b/src/gui/theme.h index cd2c8aa4d..7747519e8 100644 --- a/src/gui/theme.h +++ b/src/gui/theme.h @@ -43,43 +43,12 @@ class ImageSet; class Skin; class Theme; +struct ThemeInfo; + const int THEME_PALETTES = 5; extern Theme *theme; -struct ThemeInfo final -{ - ThemeInfo() : - name(), - copyright(), - font(), - boldFont(), - particleFont(), - helpFont(), - secureFont(), - npcFont(), - japanFont(), - chinaFont(), - fontSize(0), - npcfontSize(0), - guiAlpha(0.0F) - { - } - std::string name; - std::string copyright; - std::string font; - std::string boldFont; - std::string particleFont; - std::string helpFont; - std::string secureFont; - std::string npcFont; - std::string japanFont; - std::string chinaFont; - int fontSize; - int npcfontSize; - float guiAlpha; -}; - class Theme final : public Palette, public ConfigListener { -- cgit v1.2.3-60-g2f50