diff options
author | simonb <simonb> | 2006-04-17 14:32:20 (GMT) |
---|---|---|
committer | simonb <simonb> | 2006-04-17 14:32:20 (GMT) |
commit | 11cba508e6a59587c304728fc8447d0f0c49f2c2 (patch) | |
tree | ed4340760e1051089cce1955cc07fa1f72378dae | |
parent | dd933c097c0e585949c7200a0937684158f0056d (diff) | |
download | fluxbox_pavel-11cba508e6a59587c304728fc8447d0f0c49f2c2.zip fluxbox_pavel-11cba508e6a59587c304728fc8447d0f0c49f2c2.tar.bz2 |
fix some toolbar transparency
-rw-r--r-- | ChangeLog | 2 | ||||
-rw-r--r-- | src/Container.cc | 1 | ||||
-rw-r--r-- | src/Toolbar.cc | 1 |
3 files changed, 4 insertions, 0 deletions
@@ -1,6 +1,8 @@ | |||
1 | (Format: Year/Month/Day) | 1 | (Format: Year/Month/Day) |
2 | Changes for 0.9.16: | 2 | Changes for 0.9.16: |
3 | *06/04/17: | 3 | *06/04/17: |
4 | * Fix toolbar transparency (frame and empty iconbar) (Simon) | ||
5 | Container.cc Toolbar.cc | ||
4 | * Fix display of label for dialog-type boxes (Simon) | 6 | * Fix display of label for dialog-type boxes (Simon) |
5 | (only when external tabs are enabled, but not for particular window) | 7 | (only when external tabs are enabled, but not for particular window) |
6 | FbWinFrame.cc | 8 | 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<void, FbTk::FbWindow> function) { | |||
503 | } | 503 | } |
504 | 504 | ||
505 | void Container::setAlpha(unsigned char alpha) { | 505 | void Container::setAlpha(unsigned char alpha) { |
506 | FbTk::FbWindow::setAlpha(alpha); | ||
506 | ItemList::iterator it = m_item_list.begin(); | 507 | ItemList::iterator it = m_item_list.begin(); |
507 | ItemList::iterator it_end = m_item_list.end(); | 508 | ItemList::iterator it_end = m_item_list.end(); |
508 | for (; it != it_end; ++it) | 509 | 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() { | |||
1092 | frame.window.setOpaque(*m_rc_alpha); | 1092 | frame.window.setOpaque(*m_rc_alpha); |
1093 | } else { | 1093 | } else { |
1094 | frame.window.setAlpha(*m_rc_alpha); | 1094 | frame.window.setAlpha(*m_rc_alpha); |
1095 | frame.window.updateBackground(false); | ||
1095 | frame.window.clear(); | 1096 | frame.window.clear(); |
1096 | 1097 | ||
1097 | ItemList::iterator item_it = m_item_list.begin(); | 1098 | ItemList::iterator item_it = m_item_list.begin(); |