aboutsummaryrefslogtreecommitdiff
path: root/src/SystemTray.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/SystemTray.hh')
-rw-r--r--src/SystemTray.hh9
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;
36class TrayWindow; 36class TrayWindow;
37class AtomHandler; 37class AtomHandler;
38 38
39namespace FbTk {
40template <class T> class ThemeProxy;
41}
42
39class SystemTray: public ToolbarItem, public FbTk::EventHandler, public FbTk::Observer { 43class SystemTray: public ToolbarItem, public FbTk::EventHandler, public FbTk::Observer {
40public: 44public:
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