aboutsummaryrefslogtreecommitdiff
path: root/src/SystemTray.hh
diff options
context:
space:
mode:
authorMark Tiefenbruck <mark@fluxbox.org>2008-01-05 01:39:19 (GMT)
committerMark Tiefenbruck <mark@fluxbox.org>2008-01-05 01:39:19 (GMT)
commitac1bd7e0981222bf340ce7defb2bb8307d42a0a2 (patch)
treec8fb9c618184e7ac44f6138409cab3fab86b23e4 /src/SystemTray.hh
parent60ba709c2f47cc2c7b877aef1b0f297b097853e5 (diff)
downloadfluxbox_pavel-ac1bd7e0981222bf340ce7defb2bb8307d42a0a2.zip
fluxbox_pavel-ac1bd7e0981222bf340ce7defb2bb8307d42a0a2.tar.bz2
update code to use ThemeProxy
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