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/themeinfo.h | 61 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 61 insertions(+) create mode 100644 src/gui/themeinfo.h (limited to 'src/gui/themeinfo.h') diff --git a/src/gui/themeinfo.h b/src/gui/themeinfo.h new file mode 100644 index 000000000..38464b8d0 --- /dev/null +++ b/src/gui/themeinfo.h @@ -0,0 +1,61 @@ +/* + * Gui Skinning + * Copyright (C) 2011-2014 The ManaPlus Developers + * + * This file is part of The ManaPlus Client. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +#ifndef GUI_THEMEINFO_H +#define GUI_THEMEINFO_H + +#include + +#include "localconsts.h" + +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; +}; + +#endif // GUI_THEMEINFO_H -- cgit v1.2.3-70-g09d2