aboutsummaryrefslogtreecommitdiff
path: root/src/FbWinFrameTheme.hh
diff options
context:
space:
mode:
authorMark Tiefenbruck <mark@fluxbox.org>2008-01-07 10:26:32 (GMT)
committerMark Tiefenbruck <mark@fluxbox.org>2008-01-07 10:26:32 (GMT)
commitdbfddf8e0bcf8e7abbba671eff64c9679332a774 (patch)
tree37cefce75eef2f7e0c749c3489008608e71dcd6c /src/FbWinFrameTheme.hh
parentac1bd7e0981222bf340ce7defb2bb8307d42a0a2 (diff)
downloadfluxbox-dbfddf8e0bcf8e7abbba671eff64c9679332a774.zip
fluxbox-dbfddf8e0bcf8e7abbba671eff64c9679332a774.tar.bz2
added new ThemeProxy for automatically handling focused vs. unfocused ThemeItems
Diffstat (limited to 'src/FbWinFrameTheme.hh')
-rw-r--r--src/FbWinFrameTheme.hh5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/FbWinFrameTheme.hh b/src/FbWinFrameTheme.hh
index 66448b6..bc8ed40 100644
--- a/src/FbWinFrameTheme.hh
+++ b/src/FbWinFrameTheme.hh
@@ -92,7 +92,8 @@ public:
92 void setFocusedAlpha(unsigned char alpha) { m_focused_alpha = alpha; } 92 void setFocusedAlpha(unsigned char alpha) { m_focused_alpha = alpha; }
93 void setUnfocusedAlpha(unsigned char alpha) { m_unfocused_alpha = alpha; } 93 void setUnfocusedAlpha(unsigned char alpha) { m_unfocused_alpha = alpha; }
94 94
95 IconbarTheme &iconbarTheme() { return m_iconbar_theme; } 95 IconbarTheme &focusedIconbarTheme() { return m_focused_iconbar_theme; }
96 IconbarTheme &unfocusedIconbarTheme() { return m_unfocused_iconbar_theme; }
96 97
97 virtual FbTk::Subject &reconfigSig() { return FbTk::Theme::reconfigSig(); } 98 virtual FbTk::Subject &reconfigSig() { return FbTk::Theme::reconfigSig(); }
98 virtual const FbTk::Subject &reconfigSig() const { return FbTk::Theme::reconfigSig(); } 99 virtual const FbTk::Subject &reconfigSig() const { return FbTk::Theme::reconfigSig(); }
@@ -128,7 +129,7 @@ private:
128 unsigned char m_focused_alpha; 129 unsigned char m_focused_alpha;
129 unsigned char m_unfocused_alpha; 130 unsigned char m_unfocused_alpha;
130 131
131 IconbarTheme m_iconbar_theme; 132 IconbarTheme m_focused_iconbar_theme, m_unfocused_iconbar_theme;
132}; 133};
133 134
134#endif // FBWINFRAMETHEME_HH 135#endif // FBWINFRAMETHEME_HH