aboutsummaryrefslogtreecommitdiff
path: root/src/IconbarTheme.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/IconbarTheme.hh')
-rw-r--r--src/IconbarTheme.hh12
1 files changed, 11 insertions, 1 deletions
diff --git a/src/IconbarTheme.hh b/src/IconbarTheme.hh
index cd6f857..1b877ac 100644
--- a/src/IconbarTheme.hh
+++ b/src/IconbarTheme.hh
@@ -3,7 +3,9 @@
3 3
4#include "FbTk/Theme.hh" 4#include "FbTk/Theme.hh"
5#include "FbTk/Texture.hh" 5#include "FbTk/Texture.hh"
6
6#include "TextTheme.hh" 7#include "TextTheme.hh"
8#include "BorderTheme.hh"
7 9
8class IconbarTheme:public FbTk::Theme { 10class IconbarTheme:public FbTk::Theme {
9public: 11public:
@@ -11,15 +13,23 @@ public:
11 virtual ~IconbarTheme(); 13 virtual ~IconbarTheme();
12 14
13 void reconfigTheme(); 15 void reconfigTheme();
16
17 void setAntialias(bool antialias);
18
14 const TextTheme &focusedText() const { return m_focused_text; } 19 const TextTheme &focusedText() const { return m_focused_text; }
15 const TextTheme &unfocusedText() const { return m_unfocused_text; } 20 const TextTheme &unfocusedText() const { return m_unfocused_text; }
16 21
22 const BorderTheme &focusedBorder() const { return m_focused_border; }
23 const BorderTheme &unfocusedBorder() const { return m_unfocused_border; }
24 const BorderTheme &border() const { return m_border; }
25
17 const FbTk::Texture &focusedTexture() const { return *m_focused_texture; } 26 const FbTk::Texture &focusedTexture() const { return *m_focused_texture; }
18 const FbTk::Texture &unfocusedTexture() const { return *m_unfocused_texture; } 27 const FbTk::Texture &unfocusedTexture() const { return *m_unfocused_texture; }
19 const FbTk::Texture &emptyTexture() const { return *m_empty_texture; } 28 const FbTk::Texture &emptyTexture() const { return *m_empty_texture; }
20 29
21private: 30private:
22 FbTk::ThemeItem<FbTk::Texture> m_focused_texture, m_unfocused_texture, m_empty_texture; 31 FbTk::ThemeItem<FbTk::Texture> m_focused_texture, m_unfocused_texture, m_empty_texture;
32 BorderTheme m_focused_border, m_unfocused_border, m_border;
23 TextTheme m_focused_text, m_unfocused_text; 33 TextTheme m_focused_text, m_unfocused_text;
24}; 34};
25 35