mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-31 09:21:18 +02:00
- eventlist: don't show EPGplus button when EPGplus is disabled
Conflicts: src/gui/eventlist.cpp Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
@@ -991,7 +991,7 @@ void CEventList::paintFoot(t_channel_id channel_id)
|
|||||||
CColorKeyHelper keyhelper; //user_menue.h
|
CColorKeyHelper keyhelper; //user_menue.h
|
||||||
neutrino_msg_t dummy = CRCInput::RC_nokey;
|
neutrino_msg_t dummy = CRCInput::RC_nokey;
|
||||||
const char * icon = NULL;
|
const char * icon = NULL;
|
||||||
struct button_label buttons[5]; //TODO dbt: add directly into footer object with setButtonLabels()
|
struct button_label buttons[7]; //TODO dbt: add directly into footer object with setButtonLabels()
|
||||||
int btn_cnt = 0;
|
int btn_cnt = 0;
|
||||||
|
|
||||||
int tID = -1; //any value, not NULL
|
int tID = -1; //any value, not NULL
|
||||||
@@ -1049,15 +1049,18 @@ void CEventList::paintFoot(t_channel_id channel_id)
|
|||||||
btn_cnt++;
|
btn_cnt++;
|
||||||
}
|
}
|
||||||
|
|
||||||
#if 0
|
// epg button for epg-plus
|
||||||
buttons[btn_cnt].button = NEUTRINO_ICON_BUTTON_INFO_SMALL;
|
if (g_settings.eventlist_epgplus)
|
||||||
buttons[btn_cnt].locale = LOCALE_EPGPLUS_HEAD;
|
{
|
||||||
btn_cnt++;
|
buttons[btn_cnt].button = NEUTRINO_ICON_BUTTON_EPG;
|
||||||
|
buttons[btn_cnt].locale = LOCALE_EPGPLUS_HEAD;
|
||||||
|
btn_cnt++;
|
||||||
|
}
|
||||||
|
|
||||||
|
// timerlist button
|
||||||
buttons[btn_cnt].button = g_info.hw_caps->has_button_timer ? NEUTRINO_ICON_BUTTON_TIMER : NEUTRINO_ICON_BUTTON_0;
|
buttons[btn_cnt].button = g_info.hw_caps->has_button_timer ? NEUTRINO_ICON_BUTTON_TIMER : NEUTRINO_ICON_BUTTON_0;
|
||||||
buttons[btn_cnt].locale = LOCALE_TIMERLIST_NAME;
|
buttons[btn_cnt].locale = LOCALE_TIMERLIST_NAME;
|
||||||
btn_cnt++;
|
btn_cnt++;
|
||||||
#endif
|
|
||||||
|
|
||||||
CComponentsFooter footer;
|
CComponentsFooter footer;
|
||||||
footer.enableShadow(CC_SHADOW_ON, -1, true);
|
footer.enableShadow(CC_SHADOW_ON, -1, true);
|
||||||
|
Reference in New Issue
Block a user