mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-30 00:41:17 +02:00
CComponentsForm: add methode killCCItems()
This methode is an equivalent version of CComponentsItem::kill() and allows to erase all items inside of a container at once.
This commit is contained in:
@@ -362,3 +362,10 @@ void CComponentsForm::hide(bool no_restore)
|
||||
//hide body
|
||||
hideCCItem(no_restore);
|
||||
}
|
||||
|
||||
//erase or paint over rendered objects
|
||||
void CComponentsForm::killCCItems(const fb_pixel_t& bg_color, bool ignore_parent)
|
||||
{
|
||||
for(size_t i=0; i<v_cc_items.size(); i++)
|
||||
v_cc_items[i]->kill(bg_color, ignore_parent);
|
||||
}
|
||||
|
Reference in New Issue
Block a user