aboutsummaryrefslogtreecommitdiff
path: root/src/WorkspaceNameTool.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/WorkspaceNameTool.hh
parent60ba709c2f47cc2c7b877aef1b0f297b097853e5 (diff)
downloadfluxbox_pavel-ac1bd7e0981222bf340ce7defb2bb8307d42a0a2.zip
fluxbox_pavel-ac1bd7e0981222bf340ce7defb2bb8307d42a0a2.tar.bz2
update code to use ThemeProxy
Diffstat (limited to 'src/WorkspaceNameTool.hh')
-rw-r--r--src/WorkspaceNameTool.hh8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/WorkspaceNameTool.hh b/src/WorkspaceNameTool.hh
index 4af9136..0bdb528 100644
--- a/src/WorkspaceNameTool.hh
+++ b/src/WorkspaceNameTool.hh
@@ -31,9 +31,13 @@
31class BScreen; 31class BScreen;
32class ToolTheme; 32class ToolTheme;
33 33
34namespace FbTk {
35template <class T> class ThemeProxy;
36}
37
34class WorkspaceNameTool: public ToolbarItem, public FbTk::Observer { 38class WorkspaceNameTool: public ToolbarItem, public FbTk::Observer {
35public: 39public:
36 WorkspaceNameTool(const FbTk::FbWindow &parent, ToolTheme &theme, BScreen &screen); 40 WorkspaceNameTool(const FbTk::FbWindow &parent, FbTk::ThemeProxy<ToolTheme> &theme, BScreen &screen);
37 virtual ~WorkspaceNameTool(); 41 virtual ~WorkspaceNameTool();
38 42
39 void move(int x, int y); 43 void move(int x, int y);
@@ -59,7 +63,7 @@ private:
59 void reRender(); 63 void reRender();
60 void updateSizing(); 64 void updateSizing();
61 FbTk::TextButton m_button; 65 FbTk::TextButton m_button;
62 const ToolTheme &m_theme; 66 const FbTk::ThemeProxy<ToolTheme> &m_theme;
63 BScreen &m_screen; 67 BScreen &m_screen;
64 Pixmap m_pixmap; 68 Pixmap m_pixmap;
65}; 69};