ES-DE/es-core/src/HelpStyle.h

25 lines
454 B
C
Raw Normal View History

2014-05-29 20:41:47 +00:00
#pragma once
#ifndef ES_CORE_HELP_STYLE_H
#define ES_CORE_HELP_STYLE_H
2014-05-29 20:41:47 +00:00
#include "math/Vector2f.h"
2014-05-29 20:41:47 +00:00
#include <memory>
#include <string>
class Font;
2017-11-01 22:21:10 +00:00
class ThemeData;
2014-05-29 20:41:47 +00:00
struct HelpStyle
{
Vector2f position;
Vector2f origin;
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);
};
#endif // ES_CORE_HELP_STYLE_H