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/Slit.hh | |
parent | 60ba709c2f47cc2c7b877aef1b0f297b097853e5 (diff) | |
download | fluxbox-ac1bd7e0981222bf340ce7defb2bb8307d42a0a2.zip fluxbox-ac1bd7e0981222bf340ce7defb2bb8307d42a0a2.tar.bz2 |
update code to use ThemeProxy
Diffstat (limited to 'src/Slit.hh')
-rw-r--r-- | src/Slit.hh | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/Slit.hh b/src/Slit.hh index 984a4c6..64ae6b4 100644 --- a/src/Slit.hh +++ b/src/Slit.hh | |||
@@ -25,7 +25,7 @@ | |||
25 | #ifndef SLIT_HH | 25 | #ifndef SLIT_HH |
26 | #define SLIT_HH | 26 | #define SLIT_HH |
27 | 27 | ||
28 | 28 | #include "SlitTheme.hh" | |
29 | #include "LayerMenu.hh" | 29 | #include "LayerMenu.hh" |
30 | #include "Layer.hh" | 30 | #include "Layer.hh" |
31 | 31 | ||
@@ -40,7 +40,6 @@ | |||
40 | #include <list> | 40 | #include <list> |
41 | #include <memory> | 41 | #include <memory> |
42 | 42 | ||
43 | class SlitTheme; | ||
44 | class SlitClient; | 43 | class SlitClient; |
45 | class BScreen; | 44 | class BScreen; |
46 | class FbMenu; | 45 | class FbMenu; |
@@ -102,8 +101,8 @@ public: | |||
102 | 101 | ||
103 | BScreen &screen() { return m_screen; } | 102 | BScreen &screen() { return m_screen; } |
104 | const BScreen &screen() const { return m_screen; } | 103 | const BScreen &screen() const { return m_screen; } |
105 | SlitTheme &theme() { return *m_slit_theme.get(); } | 104 | FbTk::ThemeProxy<SlitTheme> &theme() { return *m_slit_theme.get(); } |
106 | const SlitTheme &theme() const { return *m_slit_theme.get(); } | 105 | const FbTk::ThemeProxy<SlitTheme> &theme() const { return *m_slit_theme.get(); } |
107 | 106 | ||
108 | int layerNumber() const { return m_layeritem->getLayerNum(); } | 107 | int layerNumber() const { return m_layeritem->getLayerNum(); } |
109 | 108 | ||