diff options
Diffstat (limited to 'src/SystemTray.hh')
-rw-r--r-- | src/SystemTray.hh | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/SystemTray.hh b/src/SystemTray.hh index e06f7f9..2e3a4ea 100644 --- a/src/SystemTray.hh +++ b/src/SystemTray.hh | |||
@@ -36,10 +36,15 @@ class ButtonTheme; | |||
36 | class TrayWindow; | 36 | class TrayWindow; |
37 | class AtomHandler; | 37 | class AtomHandler; |
38 | 38 | ||
39 | namespace FbTk { | ||
40 | template <class T> class ThemeProxy; | ||
41 | } | ||
42 | |||
39 | class SystemTray: public ToolbarItem, public FbTk::EventHandler, public FbTk::Observer { | 43 | class SystemTray: public ToolbarItem, public FbTk::EventHandler, public FbTk::Observer { |
40 | public: | 44 | public: |
41 | 45 | ||
42 | explicit SystemTray(const FbTk::FbWindow &parent, ButtonTheme &theme, BScreen& screen); | 46 | explicit SystemTray(const FbTk::FbWindow &parent, |
47 | FbTk::ThemeProxy<ButtonTheme> &theme, BScreen& screen); | ||
43 | virtual ~SystemTray(); | 48 | virtual ~SystemTray(); |
44 | 49 | ||
45 | void move(int x, int y); | 50 | void move(int x, int y); |
@@ -85,7 +90,7 @@ private: | |||
85 | void showClient(TrayWindow *traywin); | 90 | void showClient(TrayWindow *traywin); |
86 | 91 | ||
87 | FbTk::FbWindow m_window; | 92 | FbTk::FbWindow m_window; |
88 | ButtonTheme& m_theme; | 93 | FbTk::ThemeProxy<ButtonTheme> &m_theme; |
89 | BScreen& m_screen; | 94 | BScreen& m_screen; |
90 | Pixmap m_pixmap; | 95 | Pixmap m_pixmap; |
91 | 96 | ||