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/Xinerama.hh | |
parent | 60ba709c2f47cc2c7b877aef1b0f297b097853e5 (diff) | |
download | fluxbox-ac1bd7e0981222bf340ce7defb2bb8307d42a0a2.zip fluxbox-ac1bd7e0981222bf340ce7defb2bb8307d42a0a2.tar.bz2 |
update code to use ThemeProxy
Diffstat (limited to 'src/Xinerama.hh')
-rw-r--r-- | src/Xinerama.hh | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/src/Xinerama.hh b/src/Xinerama.hh index dfc0d86..4e7d06f 100644 --- a/src/Xinerama.hh +++ b/src/Xinerama.hh | |||
@@ -61,8 +61,9 @@ private: | |||
61 | template <typename ItemType> | 61 | template <typename ItemType> |
62 | class XineramaHeadMenu : public FbMenu { | 62 | class XineramaHeadMenu : public FbMenu { |
63 | public: | 63 | public: |
64 | XineramaHeadMenu(FbTk::MenuTheme &tm, BScreen &screen, FbTk::ImageControl &imgctrl, | 64 | XineramaHeadMenu(FbTk::ThemeProxy<FbTk::MenuTheme> &tm, BScreen &screen, |
65 | FbTk::XLayer &layer, ItemType &item, const FbTk::FbString & title = ""); | 65 | FbTk::ImageControl &imgctrl, FbTk::XLayer &layer, |
66 | ItemType &item, const FbTk::FbString & title = ""); | ||
66 | 67 | ||
67 | private: | 68 | private: |
68 | ItemType &m_object; | 69 | ItemType &m_object; |
@@ -70,8 +71,10 @@ private: | |||
70 | 71 | ||
71 | 72 | ||
72 | template <typename ItemType> | 73 | template <typename ItemType> |
73 | XineramaHeadMenu<ItemType>::XineramaHeadMenu(FbTk::MenuTheme &tm, BScreen &screen, FbTk::ImageControl &imgctrl, | 74 | XineramaHeadMenu<ItemType>::XineramaHeadMenu( |
74 | FbTk::XLayer &layer, ItemType &item, const FbTk::FbString & title): | 75 | FbTk::ThemeProxy<FbTk::MenuTheme> &tm, BScreen &screen, |
76 | FbTk::ImageControl &imgctrl, FbTk::XLayer &layer, ItemType &item, | ||
77 | const FbTk::FbString & title): | ||
75 | FbMenu(tm, imgctrl, layer), | 78 | FbMenu(tm, imgctrl, layer), |
76 | m_object(item) | 79 | m_object(item) |
77 | { | 80 | { |