mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 09:21:09 +02:00
cc_frm_header: ensure restore logo background before cleanup
clean background is required before paint new logo,
avoids overpaint of old logo
supplement to: fix artifacts if no logo found
Origin commit data
------------------
Commit: d0f14be9c1
Author: Thilo Graf <dbt@novatux.de>
Date: 2021-11-20 (Sat, 20 Nov 2021)
This commit is contained in:
@@ -388,8 +388,11 @@ void CComponentsHeader::initLogo()
|
|||||||
cch_logo_obj->setYPos(height/2 - cch_logo_obj->getHeight()/2);
|
cch_logo_obj->setYPos(height/2 - cch_logo_obj->getHeight()/2);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
{
|
||||||
|
cch_logo_obj->hide();
|
||||||
cch_logo_obj->clearFbData();
|
cch_logo_obj->clearFbData();
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
void CComponentsHeader::addContextButton(const std::string& button_name)
|
void CComponentsHeader::addContextButton(const std::string& button_name)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user