mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 00:11:14 +02:00
*neutrino timerlist: use info button instead help button for eventinfo
Help button is still working, but we should 'help button' really use for help features only in future. Note: means general for GUI. git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@1836 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
@@ -435,7 +435,7 @@ void CTimerList::updateEvents(void)
|
|||||||
frameBuffer->getIconSize(NEUTRINO_ICON_TIMER, &icol_w, &icol_h);
|
frameBuffer->getIconSize(NEUTRINO_ICON_TIMER, &icol_w, &icol_h);
|
||||||
if(theight < icol_h)
|
if(theight < icol_h)
|
||||||
theight = icol_h;
|
theight = icol_h;
|
||||||
frameBuffer->getIconSize(NEUTRINO_ICON_BUTTON_HELP, &icol_w, &icol_h);
|
frameBuffer->getIconSize(NEUTRINO_ICON_BUTTON_INFO, &icol_w, &icol_h);
|
||||||
if(theight < icol_h)
|
if(theight < icol_h)
|
||||||
theight = icol_h;
|
theight = icol_h;
|
||||||
|
|
||||||
@@ -860,7 +860,7 @@ void CTimerList::paintHead()
|
|||||||
|
|
||||||
//don't show info button on empty timerlist
|
//don't show info button on empty timerlist
|
||||||
if (!timerlist.empty())
|
if (!timerlist.empty())
|
||||||
frameBuffer->paintIcon(NEUTRINO_ICON_BUTTON_HELP, x + width - icol_w - 10, y, theight);
|
frameBuffer->paintIcon(NEUTRINO_ICON_BUTTON_INFO, x + width - icol_w - 10, y, theight);
|
||||||
}
|
}
|
||||||
|
|
||||||
const struct button_label TimerListButtons[4] =
|
const struct button_label TimerListButtons[4] =
|
||||||
|
Reference in New Issue
Block a user