mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-01 01:41:12 +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.
Origin commit data
------------------
Branch: ni/coolstream
Commit: 581b9c7701
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-06-05 (Thu, 05 Jun 2014)
------------------
This commit was generated by Migit
This commit is contained in:
@@ -50,6 +50,11 @@ class CComponentsForm : public CComponentsItem
|
||||
|
||||
void paint(bool do_save_bg = CC_SAVE_SCREEN_YES);
|
||||
void hide(bool no_restore = false);
|
||||
|
||||
///same like CComponentsItem::kill(), but erases all embedded items inside of parent at once, this = parent
|
||||
///NOTE: Items always have parent bindings to "this" and use the parent background color as default! Set parameter 'ignore_parent=true' to ignore parent background color!
|
||||
virtual void killCCItems(const fb_pixel_t& bg_color, bool ignore_parent);
|
||||
|
||||
virtual void addCCItem(CComponentsItem* cc_Item);
|
||||
virtual void addCCItem(const std::vector<CComponentsItem*> &cc_items);
|
||||
virtual void insertCCItem(const uint& cc_item_id, CComponentsItem* cc_Item);
|
||||
|
Reference in New Issue
Block a user