From 4c192acbe8491412d19de46dba61b7949ab2a65b Mon Sep 17 00:00:00 2001 From: Thilo Graf Date: Tue, 8 Feb 2022 00:11:01 +0100 Subject: [PATCH] cc_item: add/rename enableCCItem(), disableCCItem() Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/3787aa50d5a1a49363e264e95f838450cb24a290 Author: Thilo Graf Date: 2022-02-08 (Tue, 08 Feb 2022) ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- src/gui/components/cc_item.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/gui/components/cc_item.h b/src/gui/components/cc_item.h index 79eb7124e..f72d599d7 100644 --- a/src/gui/components/cc_item.h +++ b/src/gui/components/cc_item.h @@ -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;};