diff options
Diffstat (limited to 'src/IconbarTheme.hh')
-rw-r--r-- | src/IconbarTheme.hh | 16 |
1 files changed, 5 insertions, 11 deletions
diff --git a/src/IconbarTheme.hh b/src/IconbarTheme.hh index 4dc5f32..e4b3c8b 100644 --- a/src/IconbarTheme.hh +++ b/src/IconbarTheme.hh | |||
@@ -36,15 +36,9 @@ public: | |||
36 | void reconfigTheme(); | 36 | void reconfigTheme(); |
37 | bool fallback(FbTk::ThemeItem_base &item); | 37 | bool fallback(FbTk::ThemeItem_base &item); |
38 | 38 | ||
39 | FbTk::TextTheme &focusedText() { return m_focused_text; } | 39 | FbTk::TextTheme &text() { return m_text; } |
40 | FbTk::TextTheme &unfocusedText() { return m_unfocused_text; } | ||
41 | |||
42 | const FbTk::BorderTheme &focusedBorder() const { return m_focused_border; } | ||
43 | const FbTk::BorderTheme &unfocusedBorder() const { return m_unfocused_border; } | ||
44 | const FbTk::BorderTheme &border() const { return m_border; } | 40 | const FbTk::BorderTheme &border() const { return m_border; } |
45 | 41 | const FbTk::Texture &texture() const { return *m_texture; } | |
46 | const FbTk::Texture &focusedTexture() const { return *m_focused_texture; } | ||
47 | const FbTk::Texture &unfocusedTexture() const { return *m_unfocused_texture; } | ||
48 | const FbTk::Texture &emptyTexture() const { return *m_empty_texture; } | 42 | const FbTk::Texture &emptyTexture() const { return *m_empty_texture; } |
49 | 43 | ||
50 | virtual FbTk::Subject &reconfigSig() { return FbTk::Theme::reconfigSig(); } | 44 | virtual FbTk::Subject &reconfigSig() { return FbTk::Theme::reconfigSig(); } |
@@ -54,9 +48,9 @@ public: | |||
54 | virtual const IconbarTheme &operator *() const { return *this; } | 48 | virtual const IconbarTheme &operator *() const { return *this; } |
55 | 49 | ||
56 | private: | 50 | private: |
57 | FbTk::ThemeItem<FbTk::Texture> m_focused_texture, m_unfocused_texture, m_empty_texture; | 51 | FbTk::ThemeItem<FbTk::Texture> m_texture, m_empty_texture; |
58 | FbTk::BorderTheme m_focused_border, m_unfocused_border, m_border; | 52 | FbTk::BorderTheme m_border; |
59 | FbTk::TextTheme m_focused_text, m_unfocused_text; | 53 | FbTk::TextTheme m_text; |
60 | std::string m_name, m_altname; | 54 | std::string m_name, m_altname; |
61 | }; | 55 | }; |
62 | 56 | ||