mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-30 17:01:08 +02:00
timerlist: hide play button, when no remote-box is defined
Origin commit data
------------------
Branch: ni/coolstream
Commit: 418bf4b341
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-10-21 (Fri, 21 Oct 2016)
Origin message was:
------------------
- timerlist: hide play button, when no remote-box is defined
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -1243,10 +1243,14 @@ void CTimerList::paintFoot()
|
||||
//shadow
|
||||
frameBuffer->paintBoxRel(x + OFFSET_SHADOW, y + height - footerHeight, width, footerHeight + OFFSET_SHADOW, COL_SHADOW_PLUS_0, RADIUS_LARGE, CORNER_BOTTOM);
|
||||
|
||||
int c = TimerListButtonsCount;
|
||||
if (g_settings.timer_remotebox_ip.size() == 0)
|
||||
c--; // reduce play button
|
||||
|
||||
if (timerlist.empty())
|
||||
::paintButtons(x, y + height - footerHeight, width, 2, &(TimerListButtons[1]), width);
|
||||
else
|
||||
::paintButtons(x, y + height - footerHeight, width, TimerListButtonsCount, TimerListButtons, width);
|
||||
::paintButtons(x, y + height - footerHeight, width, c, TimerListButtons, width);
|
||||
}
|
||||
|
||||
void CTimerList::paint()
|
||||
|
Reference in New Issue
Block a user