CComponentsForm/CComponentsWindow: add new members

CComponentsForm: Overload member removeCCItem so we can use
cc_item as parameter.
CComponentsWindow: add member bool showFooter().
This allows to hide a footer in window.
This commit is contained in:
2013-09-08 21:31:35 +02:00
parent f129db9b0c
commit 4eb26988e9
3 changed files with 29 additions and 4 deletions

View File

@@ -254,6 +254,12 @@ void CComponentsForm::removeCCItem(const uint& cc_item_id)
#endif
}
void CComponentsForm::removeCCItem(CComponentsItem* cc_Item)
{
uint id = getCCItemId(cc_Item);
removeCCItem(id);
}
void CComponentsForm::exchangeCCItem(const uint& cc_item_id_a, const uint& cc_item_id_b)
{
if (!v_cc_items.empty())