From 11cba508e6a59587c304728fc8447d0f0c49f2c2 Mon Sep 17 00:00:00 2001 From: simonb Date: Mon, 17 Apr 2006 14:32:20 +0000 Subject: fix some toolbar transparency --- ChangeLog | 2 ++ src/Container.cc | 1 + src/Toolbar.cc | 1 + 3 files changed, 4 insertions(+) diff --git a/ChangeLog b/ChangeLog index 6fa7ab5..4718efd 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,8 @@ (Format: Year/Month/Day) Changes for 0.9.16: *06/04/17: + * Fix toolbar transparency (frame and empty iconbar) (Simon) + Container.cc Toolbar.cc * Fix display of label for dialog-type boxes (Simon) (only when external tabs are enabled, but not for particular window) FbWinFrame.cc diff --git a/src/Container.cc b/src/Container.cc index ff026e1..db460c2 100644 --- a/src/Container.cc +++ b/src/Container.cc @@ -503,6 +503,7 @@ void Container::for_each(std::mem_fun_t function) { } void Container::setAlpha(unsigned char alpha) { + FbTk::FbWindow::setAlpha(alpha); ItemList::iterator it = m_item_list.begin(); ItemList::iterator it_end = m_item_list.end(); for (; it != it_end; ++it) diff --git a/src/Toolbar.cc b/src/Toolbar.cc index 0a9461a..484719e 100644 --- a/src/Toolbar.cc +++ b/src/Toolbar.cc @@ -1092,6 +1092,7 @@ void Toolbar::updateAlpha() { frame.window.setOpaque(*m_rc_alpha); } else { frame.window.setAlpha(*m_rc_alpha); + frame.window.updateBackground(false); frame.window.clear(); ItemList::iterator item_it = m_item_list.begin(); -- cgit v0.11.2