fix some toolbar transparency
This commit is contained in:
parent
dd933c097c
commit
11cba508e6
3 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
|
|
@ -503,6 +503,7 @@ void Container::for_each(std::mem_fun_t<void, FbTk::FbWindow> 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)
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue