mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-01 09:51:13 +02:00
CComponentsForm: add return value to addCCItem()
return value = current id of added item
Origin commit data
------------------
Branch: ni/coolstream
Commit: 888c575ef4
Author: Thilo Graf <dbt@novatux.de>
Date: 2015-12-01 (Tue, 01 Dec 2015)
------------------
This commit was generated by Migit
This commit is contained in:
@@ -78,8 +78,10 @@ class CComponentsForm : public CComponentsItem
|
||||
///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);
|
||||
///add an item to form collection, returns id
|
||||
virtual int addCCItem(CComponentsItem* cc_Item);
|
||||
///add items from a vector to form collection, returns size/count of items
|
||||
virtual int addCCItem(const std::vector<CComponentsItem*> &cc_items);
|
||||
virtual void insertCCItem(const uint& cc_item_id, CComponentsItem* cc_Item);
|
||||
|
||||
///removes item object from container and deallocates instance
|
||||
|
Reference in New Issue
Block a user