#pragma once #include "common.h" #include "ThemeType.h" #include "core/String.h" #include "core/math/Rgb.h" class ThemeInfo { String _folderName; ThemeType _type; String _name; String _description; String _author; Rgb<8, 8, 8> _primaryColor; bool _darkTheme; public: ThemeInfo(const TCHAR* folderName, ThemeType type, const char* name, const char* description, const char* author, const Rgb<8, 8, 8>& primaryColor, bool darkTheme) : _folderName(folderName), _type(type), _name(name) , _description(description), _author(author), _primaryColor(primaryColor) , _darkTheme(darkTheme) { } ThemeInfo(const TCHAR* folderName, ThemeType type, const char16_t* name, const char16_t* description, const char16_t* author, const Rgb<8, 8, 8>& primaryColor, bool darkTheme) : _folderName(folderName), _type(type), _name(name) , _description(description), _author(author), _primaryColor(primaryColor) , _darkTheme(darkTheme) { } constexpr const TCHAR* GetFolderName() const { return _folderName; } constexpr ThemeType GetType() const { return _type; } constexpr const char16_t* GetName() const { return _name; } constexpr const char16_t* GetDescription() const { return _description; } constexpr const char16_t* GetAuthor() const { return _author; } constexpr const Rgb<8, 8, 8>& GetPrimaryColor() const { return _primaryColor; } constexpr bool GetIsDarkTheme() const { return _darkTheme; } };