// SPDX-License-Identifier: MIT // // EmulationStation Desktop Edition // HelpStyle.h // // Style (default colors, position and origin) for the help system. // Also theme handling. // #ifndef ES_CORE_HELP_STYLE_H #define ES_CORE_HELP_STYLE_H #include "utils/MathUtil.h" #include #include class Font; class ThemeData; struct HelpStyle { glm::vec2 position; glm::vec2 origin; unsigned int textColor; unsigned int textColorDimmed; unsigned int iconColor; unsigned int iconColorDimmed; std::shared_ptr font; float entrySpacing; float iconTextSpacing; std::string textStyle; HelpStyle(); // Default values. void applyTheme(const std::shared_ptr& theme, const std::string& view); }; #endif // ES_CORE_HELP_STYLE_H