mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 08:21:12 +02:00
Progressbars: use default frame thickness
It's unnecessary overhead to set the value everywhere, except it's needed.
This commit is contained in:
@@ -642,7 +642,6 @@ int CEpgData::show(const t_channel_id channel_id, uint64_t a_id, time_t* a_start
|
||||
{
|
||||
int pbx = sx + 10 + widthl + 10 + ((ox-104-widthr-widthl-10-10-20)>>1);
|
||||
CProgressBar pb(pbx, sy+oy-height, 104, height-6);
|
||||
pb.setFrameThickness(0);
|
||||
pb.setBlink();
|
||||
pb.setValues(epg_done, 100);
|
||||
pb.paint(false);
|
||||
@@ -688,7 +687,6 @@ int CEpgData::show(const t_channel_id channel_id, uint64_t a_id, time_t* a_start
|
||||
if ( epg_done!= -1 ) {
|
||||
int pbx = sx + 10 + widthl + 10 + ((ox-104-widthr-widthl-10-10-20)>>1);
|
||||
CProgressBar pb(pbx, sy+oy-height, 104, height-6);
|
||||
pb.setFrameThickness(0);
|
||||
pb.setBlink();
|
||||
pb.setValues(epg_done, 100);
|
||||
pb.paint(false);
|
||||
|
Reference in New Issue
Block a user