mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-02 02:11:04 +02:00
CComponentsItem: add missing parameter to kill() member
Was not passed to parent methode.
Origin commit data
------------------
Branch: ni/coolstream
Commit: 65de6dee9f
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-01-28 (Thu, 28 Jan 2016)
------------------
This commit was generated by Migit
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