mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 08:21:12 +02:00
- timerlist: fix shadow color
This commit is contained in:
@@ -674,7 +674,7 @@ void CTimerList::paintItem(int pos)
|
|||||||
else
|
else
|
||||||
bgcolor = COL_MENUCONTENT_PLUS_0;
|
bgcolor = COL_MENUCONTENT_PLUS_0;
|
||||||
//shadow
|
//shadow
|
||||||
frameBuffer->paintBoxRel(x + width, ypos, SHADOW_OFFSET, 2*fheight, COL_MENUCONTENTDARK_PLUS_0);
|
frameBuffer->paintBoxRel(x + width, ypos, SHADOW_OFFSET, 2*fheight, COL_SHADOW_PLUS_0);
|
||||||
//item
|
//item
|
||||||
frameBuffer->paintBoxRel(x, ypos, real_width, 2*fheight, bgcolor);
|
frameBuffer->paintBoxRel(x, ypos, real_width, 2*fheight, bgcolor);
|
||||||
|
|
||||||
@@ -855,7 +855,7 @@ void CTimerList::paintFoot()
|
|||||||
}
|
}
|
||||||
|
|
||||||
//shadow
|
//shadow
|
||||||
frameBuffer->paintBoxRel(x + SHADOW_OFFSET, y + height - footerHeight, width, footerHeight + SHADOW_OFFSET, COL_MENUCONTENTDARK_PLUS_0, RADIUS_LARGE, CORNER_BOTTOM);
|
frameBuffer->paintBoxRel(x + SHADOW_OFFSET, y + height - footerHeight, width, footerHeight + SHADOW_OFFSET, COL_SHADOW_PLUS_0, RADIUS_LARGE, CORNER_BOTTOM);
|
||||||
|
|
||||||
if (timerlist.empty())
|
if (timerlist.empty())
|
||||||
::paintButtons(x, y + height - footerHeight, width, 2, &(TimerListButtons[1]), width);
|
::paintButtons(x, y + height - footerHeight, width, 2, &(TimerListButtons[1]), width);
|
||||||
|
Reference in New Issue
Block a user