mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 16:31:11 +02:00
timerlist: select radius
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1223 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
@@ -689,7 +689,7 @@ void CTimerList::paintItem(int pos)
|
|||||||
real_width-=15; //scrollbar
|
real_width-=15; //scrollbar
|
||||||
}
|
}
|
||||||
|
|
||||||
frameBuffer->paintBoxRel(x,ypos, real_width, 2*fheight, bgcolor);
|
frameBuffer->paintBoxRel(x,ypos, real_width, 2*fheight, bgcolor, RADIUS_MID);
|
||||||
if (liststart+pos<timerlist.size())
|
if (liststart+pos<timerlist.size())
|
||||||
{
|
{
|
||||||
CTimerd::responseGetTimer & timer = timerlist[liststart+pos];
|
CTimerd::responseGetTimer & timer = timerlist[liststart+pos];
|
||||||
@@ -879,7 +879,7 @@ void CTimerList::paint()
|
|||||||
int sbc= ((timerlist.size()- 1)/ listmaxshow)+ 1;
|
int sbc= ((timerlist.size()- 1)/ listmaxshow)+ 1;
|
||||||
float sbh= (sb- 4)/ sbc;
|
float sbh= (sb- 4)/ sbc;
|
||||||
|
|
||||||
frameBuffer->paintBoxRel(x+ width- 13, ypos+ 2+ int(page_nr * sbh) , 11, int(sbh), COL_MENUCONTENT_PLUS_3);
|
frameBuffer->paintBoxRel(x+ width- 13, ypos+ 2+ int(page_nr * sbh) , 11, int(sbh), COL_MENUCONTENT_PLUS_3, RADIUS_SMALL);
|
||||||
}
|
}
|
||||||
|
|
||||||
paintFoot();
|
paintFoot();
|
||||||
|
Reference in New Issue
Block a user