diff options
author | Mark Tiefenbruck <mark@fluxbox.org> | 2008-01-05 01:39:19 (GMT) |
---|---|---|
committer | Mark Tiefenbruck <mark@fluxbox.org> | 2008-01-05 01:39:19 (GMT) |
commit | ac1bd7e0981222bf340ce7defb2bb8307d42a0a2 (patch) | |
tree | c8fb9c618184e7ac44f6138409cab3fab86b23e4 /src/SystemTray.hh | |
parent | 60ba709c2f47cc2c7b877aef1b0f297b097853e5 (diff) | |
download | fluxbox_pavel-ac1bd7e0981222bf340ce7defb2bb8307d42a0a2.zip fluxbox_pavel-ac1bd7e0981222bf340ce7defb2bb8307d42a0a2.tar.bz2 |
update code to use ThemeProxy
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 | ||