aboutsummaryrefslogtreecommitdiff
path: root/src/IconbarTool.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/IconbarTool.cc
parent9475d7bc8226e58a86dd90f01c56c6e0e96a4969 (diff)
downloadfluxbox_paul-6914d00eb772705ee9e2cced1629ac5938361cfe.zip
fluxbox_paul-6914d00eb772705ee9e2cced1629ac5938361cfe.tar.bz2
toolbar transparency
Diffstat (limited to 'src/IconbarTool.cc')
-rw-r--r--src/IconbarTool.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/IconbarTool.cc b/src/IconbarTool.cc
index ff10018..79ed89b 100644
--- a/src/IconbarTool.cc
+++ b/src/IconbarTool.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: IconbarTool.cc,v 1.28 2004/01/10 01:19:13 rathnor Exp $ 23// $Id: IconbarTool.cc,v 1.29 2004/01/13 14:41:32 rathnor Exp $
24 24
25#include "IconbarTool.hh" 25#include "IconbarTool.hh"
26 26
@@ -576,6 +576,7 @@ void IconbarTool::renderTheme() {
576 576
577 m_icon_container.setBorderWidth(m_theme.border().width()); 577 m_icon_container.setBorderWidth(m_theme.border().width());
578 m_icon_container.setBorderColor(m_theme.border().color()); 578 m_icon_container.setBorderColor(m_theme.border().color());
579 m_icon_container.setAlpha(m_theme.alpha());
579 580
580 // update buttons 581 // update buttons
581 IconList::iterator icon_it = m_icon_list.begin(); 582 IconList::iterator icon_it = m_icon_list.begin();
@@ -587,6 +588,7 @@ void IconbarTool::renderTheme() {
587void IconbarTool::renderButton(IconButton &button) { 588void IconbarTool::renderButton(IconButton &button) {
588 589
589 button.setPixmap(*m_rc_use_pixmap); 590 button.setPixmap(*m_rc_use_pixmap);
591 button.setAlpha(m_theme.alpha());
590 592
591 // if we're rendering a button, there must be a back button. 593 // if we're rendering a button, there must be a back button.
592 // The last button is always the regular width 594 // The last button is always the regular width
@@ -628,6 +630,7 @@ void IconbarTool::renderButton(IconButton &button) {
628 } 630 }
629 631
630 button.clear(); 632 button.clear();
633 button.updateTransparent();
631} 634}
632 635
633void IconbarTool::deleteIcons() { 636void IconbarTool::deleteIcons() {