aboutsummaryrefslogtreecommitdiff
path: root/src/ClockTool.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/ClockTool.hh
parent60ba709c2f47cc2c7b877aef1b0f297b097853e5 (diff)
downloadfluxbox-ac1bd7e0981222bf340ce7defb2bb8307d42a0a2.zip
fluxbox-ac1bd7e0981222bf340ce7defb2bb8307d42a0a2.tar.bz2
update code to use ThemeProxy
Diffstat (limited to 'src/ClockTool.hh')
-rw-r--r--src/ClockTool.hh6
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 {
39class ImageControl; 39class ImageControl;
40class Subject; 40class Subject;
41class Menu; 41class Menu;
42template <class T> class ThemeProxy;
42} 43}
43 44
44class ClockTool:public ToolbarItem, public FbTk::Observer { 45class ClockTool:public ToolbarItem, public FbTk::Observer {
45public: 46public:
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;