CComponentsItem: move function isAdded() to CComponentsItem class

This commit is contained in:
2013-10-19 01:13:26 +02:00
parent a1e5a60184
commit 3438b23f68
7 changed files with 19 additions and 18 deletions

View File

@@ -244,6 +244,8 @@ class CComponentsItem : public CComponents
virtual void setParent(CComponentsItem *parent){cc_parent = parent;};
///returns pointer to the form object in which this item is embedded.
virtual CComponentsItem * getParent(){return cc_parent;};
///property: returns true if item is added to a form
virtual bool isAdded(CComponentsItem *parent_frm = NULL);
///abstract: paint item, arg: do_save_bg see paintInit() above
virtual void paint(bool do_save_bg = CC_SAVE_SCREEN_YES) = 0;