2014-05-29 20:41:47 +00:00
|
|
|
#pragma once
|
2017-10-31 17:12:50 +00:00
|
|
|
#ifndef ES_CORE_HELP_STYLE_H
|
|
|
|
#define ES_CORE_HELP_STYLE_H
|
2014-05-29 20:41:47 +00:00
|
|
|
|
2017-10-28 20:24:35 +00:00
|
|
|
#include "math/Vector2f.h"
|
2014-05-29 20:41:47 +00:00
|
|
|
#include <memory>
|
|
|
|
#include <string>
|
|
|
|
|
|
|
|
class ThemeData;
|
|
|
|
class Font;
|
|
|
|
|
|
|
|
struct HelpStyle
|
|
|
|
{
|
2017-10-28 20:24:35 +00:00
|
|
|
Vector2f position;
|
2014-05-29 20:41:47 +00:00
|
|
|
unsigned int iconColor;
|
|
|
|
unsigned int textColor;
|
|
|
|
std::shared_ptr<Font> font;
|
|
|
|
|
|
|
|
HelpStyle(); // default values
|
|
|
|
void applyTheme(const std::shared_ptr<ThemeData>& theme, const std::string& view);
|
2017-10-31 17:12:50 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // ES_CORE_HELP_STYLE_H
|