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/ClockTool.hh | |
parent | 60ba709c2f47cc2c7b877aef1b0f297b097853e5 (diff) | |
download | fluxbox_pavel-ac1bd7e0981222bf340ce7defb2bb8307d42a0a2.zip fluxbox_pavel-ac1bd7e0981222bf340ce7defb2bb8307d42a0a2.tar.bz2 |
update code to use ThemeProxy
Diffstat (limited to 'src/ClockTool.hh')
-rw-r--r-- | src/ClockTool.hh | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/ClockTool.hh b/src/ClockTool.hh index 4b1a62c..cbc676f 100644 --- a/src/ClockTool.hh +++ b/src/ClockTool.hh | |||
@@ -39,11 +39,13 @@ namespace FbTk { | |||
39 | class ImageControl; | 39 | class ImageControl; |
40 | class Subject; | 40 | class Subject; |
41 | class Menu; | 41 | class Menu; |
42 | template <class T> class ThemeProxy; | ||
42 | } | 43 | } |
43 | 44 | ||
44 | class ClockTool:public ToolbarItem, public FbTk::Observer { | 45 | class ClockTool:public ToolbarItem, public FbTk::Observer { |
45 | public: | 46 | public: |
46 | ClockTool(const FbTk::FbWindow &parent, ToolTheme &theme, BScreen &screen, FbTk::Menu &menu); | 47 | ClockTool(const FbTk::FbWindow &parent, FbTk::ThemeProxy<ToolTheme> &theme, |
48 | BScreen &screen, FbTk::Menu &menu); | ||
47 | virtual ~ClockTool(); | 49 | virtual ~ClockTool(); |
48 | 50 | ||
49 | void move(int x, int y); | 51 | void move(int x, int y); |
@@ -73,7 +75,7 @@ private: | |||
73 | 75 | ||
74 | FbTk::TextButton m_button; | 76 | FbTk::TextButton m_button; |
75 | 77 | ||
76 | const ToolTheme &m_theme; | 78 | const FbTk::ThemeProxy<ToolTheme> &m_theme; |
77 | BScreen &m_screen; | 79 | BScreen &m_screen; |
78 | Pixmap m_pixmap; | 80 | Pixmap m_pixmap; |
79 | FbTk::Timer m_timer; | 81 | FbTk::Timer m_timer; |