aboutsummaryrefslogtreecommitdiff
path: root/src/IconbarTheme.cc
diff options
context:
space:
mode:
authorrathnor <rathnor>2004-01-13 14:41:32 (GMT)
committerrathnor <rathnor>2004-01-13 14:41:32 (GMT)
commit6914d00eb772705ee9e2cced1629ac5938361cfe (patch)
tree0f19dc333b5dcddb5628a262f33d1ebb4400dcd5 /src/IconbarTheme.cc
parent9475d7bc8226e58a86dd90f01c56c6e0e96a4969 (diff)
downloadfluxbox-6914d00eb772705ee9e2cced1629ac5938361cfe.zip
fluxbox-6914d00eb772705ee9e2cced1629ac5938361cfe.tar.bz2
toolbar transparency
Diffstat (limited to 'src/IconbarTheme.cc')
-rw-r--r--src/IconbarTheme.cc11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/IconbarTheme.cc b/src/IconbarTheme.cc
index 3c73376..69e0a7b 100644
--- a/src/IconbarTheme.cc
+++ b/src/IconbarTheme.cc
@@ -20,7 +20,7 @@
20// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 20// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
21// DEALINGS IN THE SOFTWARE. 21// DEALINGS IN THE SOFTWARE.
22 22
23// $Id: IconbarTheme.cc,v 1.7 2003/08/29 00:48:41 fluxgen Exp $ 23// $Id: IconbarTheme.cc,v 1.8 2004/01/13 14:41:32 rathnor Exp $
24 24
25#include "IconbarTheme.hh" 25#include "IconbarTheme.hh"
26#include "FbTk/App.hh" 26#include "FbTk/App.hh"
@@ -37,7 +37,8 @@ IconbarTheme::IconbarTheme(int screen_num,
37 m_border(*this, name, altname), 37 m_border(*this, name, altname),
38 m_focused_text(*this, name + ".focused", altname + ".Focused"), 38 m_focused_text(*this, name + ".focused", altname + ".Focused"),
39 m_unfocused_text(*this, name + ".unfocused", altname + ".Unfocused"), 39 m_unfocused_text(*this, name + ".unfocused", altname + ".Unfocused"),
40 m_name(name) { 40 m_name(name),
41 m_alpha(*this, name+".alpha", altname+".Alpha") {
41 42
42 FbTk::ThemeManager::instance().loadTheme(*this); 43 FbTk::ThemeManager::instance().loadTheme(*this);
43 44
@@ -103,9 +104,11 @@ bool IconbarTheme::fallback(FbTk::ThemeItem_base &item) {
103 104
104 return tm.loadItem(item, "window.label.focus.textColor", "Window.Label.Focus.TextColor"); 105 return tm.loadItem(item, "window.label.focus.textColor", "Window.Label.Focus.TextColor");
105 106
106 } else if (item.name() == m_name + ".unfocused.textColor") 107 } else if (item.name() == m_name + ".unfocused.textColor") {
107 return tm.loadItem(item, "window.label.unfocus.textColor", "Window.Label.Unfocus.TextColor"); 108 return tm.loadItem(item, "window.label.unfocus.textColor", "Window.Label.Unfocus.TextColor");
108 109 } else if (item.name() == m_name + ".alpha") {
110 return tm.loadItem(item, "toolbar.alpha", "Toolbar.Alpha");
111 }
109 112
110 return false; 113 return false;
111} 114}