mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-08 14:18:29 +02:00
CMenuItem: add members set/get info icon inside menu items
Origin commit data
------------------
Branch: ni/coolstream
Commit: f0660dc66c
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-09-17 (Sun, 17 Sep 2017)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -69,10 +69,7 @@ CMenuItem::CMenuItem(bool Active, neutrino_msg_t DirectKey, const char * const I
|
||||
else
|
||||
setIconName();
|
||||
|
||||
if (IconName_Info_right && *IconName_Info_right)
|
||||
iconName_Info_right = IconName_Info_right;
|
||||
else
|
||||
iconName_Info_right = NULL;
|
||||
setInfoIconRight(IconName_Info_right);
|
||||
|
||||
hintIcon = NULL;
|
||||
|
||||
@@ -156,6 +153,13 @@ void CMenuItem::disableByCondition(const menu_item_disable_cond_t& condition)
|
||||
}
|
||||
}
|
||||
|
||||
void CMenuItem::setInfoIconRight(const char * const IconName_Info_right){
|
||||
if (IconName_Info_right && *IconName_Info_right)
|
||||
iconName_Info_right = IconName_Info_right;
|
||||
else
|
||||
iconName_Info_right = NULL;
|
||||
}
|
||||
|
||||
void CMenuItem::setMarked(const bool Marked)
|
||||
{
|
||||
marked = Marked;
|
||||
|
Reference in New Issue
Block a user