mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-28 16:01:10 +02:00
channellist: add small frame to mono progressbars w/o gradient
Origin commit data
------------------
Branch: ni/coolstream
Commit: 3284484300
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-10-10 (Mon, 10 Oct 2016)
Origin message was:
------------------
- channellist: add small frame to mono progressbars w/o gradient
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -1989,7 +1989,13 @@ void CChannelList::paintItem(int pos, const bool firstpaint)
|
||||
pb.setDesign(g_settings.channellist_progressbar_design);
|
||||
pb.setCornerType(0);
|
||||
pb.setStatusColors(COL_MENUCONTENT_PLUS_3, COL_MENUCONTENT_PLUS_1);
|
||||
pb.setFrameThickness(g_settings.channellist_progressbar_design == CProgressBar::PB_MONO ? 1 : 0);
|
||||
int pb_frame = 0;
|
||||
if (g_settings.channellist_progressbar_design == CProgressBar::PB_MONO && !g_settings.progressbar_gradient)
|
||||
{
|
||||
// add small frame to mono progressbars w/o gradient for a better visibility
|
||||
pb_frame = 1;
|
||||
}
|
||||
pb.setFrameThickness(pb_frame);
|
||||
pb.doPaintBg(false);
|
||||
int pb_max = pb_space - 4;
|
||||
|
||||
|
Reference in New Issue
Block a user