mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 01:11:06 +02:00
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:
@@ -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;};
|
||||
|
Reference in New Issue
Block a user