mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-27 15:32:59 +02:00
CComponentsItem: add missing parameter to kill() member
Was not passed to parent methode.
This commit is contained in:
@@ -127,15 +127,15 @@ void CComponentsItem::paintInit(bool do_save_bg)
|
||||
}
|
||||
|
||||
//erase or paint over rendered objects
|
||||
void CComponentsItem::kill(const fb_pixel_t& bg_color, bool ignore_parent)
|
||||
void CComponentsItem::kill(const fb_pixel_t& bg_color, bool ignore_parent, const int& fblayer_type)
|
||||
{
|
||||
if(cc_parent == NULL){
|
||||
CComponents::kill(bg_color, this->corner_rad);
|
||||
CComponents::kill(bg_color, this->corner_rad, fblayer_type);
|
||||
}else{
|
||||
if(ignore_parent)
|
||||
CComponents::kill(bg_color, this->corner_rad);
|
||||
CComponents::kill(bg_color, this->corner_rad, fblayer_type);
|
||||
else
|
||||
CComponents::kill(cc_parent->getColorBody(), cc_parent->getCornerRadius());
|
||||
CComponents::kill(cc_parent->getColorBody(), cc_parent->getCornerRadius(), fblayer_type);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user