mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-30 08:51:04 +02:00
CComponents/CComponentsItem: simplify statement
Origin commit data
------------------
Branch: ni/coolstream
Commit: 336ddf75b6
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-05-18 (Sun, 18 May 2014)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -137,13 +137,10 @@ void CComponentsItem::hide(bool no_restore)
|
||||
//erase or paint over rendered objects
|
||||
void CComponentsItem::kill(const fb_pixel_t& bg_color, bool ignore_parent)
|
||||
{
|
||||
if(bg_color || cc_parent == NULL){
|
||||
if(cc_parent == NULL){
|
||||
CComponents::kill(bg_color);
|
||||
return;
|
||||
}
|
||||
|
||||
if (cc_parent){
|
||||
if(bg_color || ignore_parent)
|
||||
}else{
|
||||
if(ignore_parent)
|
||||
CComponents::kill(bg_color);
|
||||
else
|
||||
CComponents::kill(cc_parent->getColorBody());
|
||||
|
Reference in New Issue
Block a user