mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-28 16:01:20 +02:00
CComponentsItem: Remove parameter from function isAdded()
This commit is contained in:
@@ -245,7 +245,7 @@ class CComponentsItem : public CComponents
|
|||||||
///returns pointer to the form object in which this item is embedded.
|
///returns pointer to the form object in which this item is embedded.
|
||||||
virtual CComponentsItem * getParent(){return cc_parent;};
|
virtual CComponentsItem * getParent(){return cc_parent;};
|
||||||
///property: returns true if item is added to a form
|
///property: returns true if item is added to a form
|
||||||
virtual bool isAdded(CComponentsItem *parent_frm = NULL);
|
virtual bool isAdded();
|
||||||
|
|
||||||
///abstract: paint item, arg: do_save_bg see paintInit() above
|
///abstract: paint item, arg: do_save_bg see paintInit() above
|
||||||
virtual void paint(bool do_save_bg = CC_SAVE_SCREEN_YES) = 0;
|
virtual void paint(bool do_save_bg = CC_SAVE_SCREEN_YES) = 0;
|
||||||
|
@@ -153,7 +153,7 @@ int CComponentsItem::getItemType()
|
|||||||
}
|
}
|
||||||
|
|
||||||
//returns true if current item is added to a form
|
//returns true if current item is added to a form
|
||||||
bool CComponentsItem::isAdded(CComponentsItem *parent_frm)
|
bool CComponentsItem::isAdded()
|
||||||
{
|
{
|
||||||
if (cc_parent)
|
if (cc_parent)
|
||||||
return true;
|
return true;
|
||||||
|
Reference in New Issue
Block a user