diff options
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; |