summaryrefslogtreecommitdiff
path: root/src/FbWinFrameTheme.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/FbWinFrameTheme.hh')
-rw-r--r--src/FbWinFrameTheme.hh9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/FbWinFrameTheme.hh b/src/FbWinFrameTheme.hh
index 7d5106c..e72d6f5 100644
--- a/src/FbWinFrameTheme.hh
+++ b/src/FbWinFrameTheme.hh
@@ -32,7 +32,8 @@
32 32
33#include "IconbarTheme.hh" 33#include "IconbarTheme.hh"
34 34
35class FbWinFrameTheme: public FbTk::Theme { 35class FbWinFrameTheme: public FbTk::Theme,
36 public FbTk::ThemeProxy<FbWinFrameTheme> {
36public: 37public:
37 explicit FbWinFrameTheme(int screen_num); 38 explicit FbWinFrameTheme(int screen_num);
38 ~FbWinFrameTheme(); 39 ~FbWinFrameTheme();
@@ -93,6 +94,12 @@ public:
93 94
94 IconbarTheme &iconbarTheme() { return m_iconbar_theme; } 95 IconbarTheme &iconbarTheme() { return m_iconbar_theme; }
95 96
97 virtual FbTk::Subject &reconfigSig() { return FbTk::Theme::reconfigSig(); }
98 virtual const FbTk::Subject &reconfigSig() const { return FbTk::Theme::reconfigSig(); }
99
100 virtual FbWinFrameTheme *operator ->() { return this; }
101 virtual const FbWinFrameTheme *operator ->() const { return this; }
102
96private: 103private:
97 FbTk::ThemeItem<FbTk::Texture> m_title_focus, m_title_unfocus; 104 FbTk::ThemeItem<FbTk::Texture> m_title_focus, m_title_unfocus;
98 FbTk::ThemeItem<FbTk::Texture> m_handle_focus, m_handle_unfocus; 105 FbTk::ThemeItem<FbTk::Texture> m_handle_focus, m_handle_unfocus;