-
Notifications
You must be signed in to change notification settings - Fork 0
/
Theme.h
38 lines (31 loc) 路 820 Bytes
/
Theme.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
#ifndef THEME_H
#define THEME_H
#include <SFML/Graphics.hpp>
class Theme
{
public:
/** CONSTRUCTOR **/
Theme(const int &id);
/** SETTER **/
void setTheme(const int &id);
/** GETTTERS **/
// Rect default
sf::Color getRectDefaultFillColor() const;
sf::Color getRectDefaultOutlineColor() const;
int getRectOutlineThickness() const;
// Rect on cursor
sf::Color getRectOnRectFillColor() const;
sf::Color getRectOnRectOutlineColor() const;
// Label
std::string getLabelText() const;
sf::Color getLabelDefaultFillColor() const;
sf::Color getLabelOnRectFillColor() const;
// Not constant since it modifies m_font and m_text
sf::Text getLabel();
private:
// Attributes
int m_id;
sf::Font m_font;
sf::Text m_text;
};
#endif // THEME_H