blob: 1b877acc43be65b804a4dfcc3fbd54741f29d26a (
plain)
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
|
#ifndef ICONBARTHEME_HH
#define ICONBARTHEME_HH
#include "FbTk/Theme.hh"
#include "FbTk/Texture.hh"
#include "TextTheme.hh"
#include "BorderTheme.hh"
class IconbarTheme:public FbTk::Theme {
public:
IconbarTheme(int screen_num, const std::string &name, const std::string &altname);
virtual ~IconbarTheme();
void reconfigTheme();
void setAntialias(bool antialias);
const TextTheme &focusedText() const { return m_focused_text; }
const TextTheme &unfocusedText() const { return m_unfocused_text; }
const BorderTheme &focusedBorder() const { return m_focused_border; }
const BorderTheme &unfocusedBorder() const { return m_unfocused_border; }
const BorderTheme &border() const { return m_border; }
const FbTk::Texture &focusedTexture() const { return *m_focused_texture; }
const FbTk::Texture &unfocusedTexture() const { return *m_unfocused_texture; }
const FbTk::Texture &emptyTexture() const { return *m_empty_texture; }
private:
FbTk::ThemeItem<FbTk::Texture> m_focused_texture, m_unfocused_texture, m_empty_texture;
BorderTheme m_focused_border, m_unfocused_border, m_border;
TextTheme m_focused_text, m_unfocused_text;
};
#endif // ICONBARTHEME_HH
|