cc_item: add/rename enableCCItem(), disableCCItem()

Origin commit data
------------------
Branch: ni/coolstream
Commit: 3787aa50d5
Author: Thilo Graf <dbt@novatux.de>
Date: 2022-02-08 (Tue, 08 Feb 2022)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
2022-02-08 00:11:01 +01:00
committed by vanhofen
parent 3a807b9d2f
commit 4c192acbe8

View File

@@ -113,7 +113,8 @@ class CComponentsItem : public CComponents
const int& frame_w = 3,
const int& sel_frame_w = 3);
///set enable mode, see also cc_item_enabled
void setEnable(bool enabled){cc_item_enabled = enabled;};
void enableCCItem(bool enabled = true){cc_item_enabled = enabled;}
void disableCCItem(){enableCCItem(false);}
///get select mode, see also setSelected() above
bool isSelected(){return cc_item_selected;};