diff options
author | Mark Tiefenbruck <mark@fluxbox.org> | 2008-01-07 10:26:32 (GMT) |
---|---|---|
committer | Mark Tiefenbruck <mark@fluxbox.org> | 2008-01-07 10:26:32 (GMT) |
commit | dbfddf8e0bcf8e7abbba671eff64c9679332a774 (patch) | |
tree | 37cefce75eef2f7e0c749c3489008608e71dcd6c /src/IconbarTool.hh | |
parent | ac1bd7e0981222bf340ce7defb2bb8307d42a0a2 (diff) | |
download | fluxbox-dbfddf8e0bcf8e7abbba671eff64c9679332a774.zip fluxbox-dbfddf8e0bcf8e7abbba671eff64c9679332a774.tar.bz2 |
added new ThemeProxy for automatically handling focused vs. unfocused ThemeItems
Diffstat (limited to 'src/IconbarTool.hh')
-rw-r--r-- | src/IconbarTool.hh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/IconbarTool.hh b/src/IconbarTool.hh index 36609cc..58f8791 100644 --- a/src/IconbarTool.hh +++ b/src/IconbarTool.hh | |||
@@ -44,7 +44,8 @@ public: | |||
44 | typedef std::map<Focusable *, IconButton *> IconMap; | 44 | typedef std::map<Focusable *, IconButton *> IconMap; |
45 | 45 | ||
46 | IconbarTool(const FbTk::FbWindow &parent, | 46 | IconbarTool(const FbTk::FbWindow &parent, |
47 | FbTk::ThemeProxy<IconbarTheme> &theme, | 47 | FbTk::ThemeProxy<IconbarTheme> &focused_theme, |
48 | FbTk::ThemeProxy<IconbarTheme> &unfocused_theme, | ||
48 | BScreen &screen, FbTk::Menu &menu); | 49 | BScreen &screen, FbTk::Menu &menu); |
49 | ~IconbarTool(); | 50 | ~IconbarTool(); |
50 | 51 | ||
@@ -96,7 +97,7 @@ private: | |||
96 | 97 | ||
97 | BScreen &m_screen; | 98 | BScreen &m_screen; |
98 | FbTk::Container m_icon_container; | 99 | FbTk::Container m_icon_container; |
99 | FbTk::ThemeProxy<IconbarTheme> &m_theme; | 100 | FbTk::ThemeProxy<IconbarTheme> &m_focused_theme, &m_unfocused_theme; |
100 | FbTk::CachedPixmap m_empty_pm; ///< pixmap for empty container | 101 | FbTk::CachedPixmap m_empty_pm; ///< pixmap for empty container |
101 | 102 | ||
102 | 103 | ||