mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-28 07:51:11 +02:00
add and use FRAME_WIDTH defines; ...
replace other fixed frame widths with OFFSET defines
Signed-off-by: Thilo Graf <dbt@novatux.de>
Origin commit data
------------------
Branch: ni/coolstream
Commit: 6ee3e54741
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-09-20 (Wed, 20 Sep 2017)
Origin message was:
------------------
- add and use FRAME_WIDTH defines; ...
replace other fixed frame widths with OFFSET defines
Signed-off-by: Thilo Graf <dbt@novatux.de>
------------------
This commit was generated by Migit
This commit is contained in:
@@ -2011,11 +2011,11 @@ void CChannelList::paintItem(int pos, const bool firstpaint)
|
||||
pb.setDesign(g_settings.theme.progressbar_design_channellist);
|
||||
pb.setCornerType(0);
|
||||
pb.setStatusColors(COL_MENUCONTENT_PLUS_3, COL_MENUCONTENT_PLUS_1);
|
||||
int pb_frame = 0;
|
||||
int pb_frame = FRAME_WIDTH_NONE;
|
||||
if (g_settings.theme.progressbar_design_channellist == CProgressBar::PB_MONO && !g_settings.theme.progressbar_gradient)
|
||||
{
|
||||
// add small frame to mono progressbars w/o gradient for a better visibility
|
||||
pb_frame = 1;
|
||||
pb_frame = FRAME_WIDTH_MIN;
|
||||
}
|
||||
pb.setFrameThickness(pb_frame);
|
||||
pb.doPaintBg(false);
|
||||
@@ -2283,7 +2283,7 @@ void CChannelList::paintPig(int _x, int _y, int w, int h)
|
||||
if (cc_minitv == NULL){
|
||||
cc_minitv = new CComponentsPIP (0, 0);
|
||||
cc_minitv->setPicture(NEUTRINO_ICON_AUDIOPLAY);
|
||||
cc_minitv->setFrameThickness(5);
|
||||
cc_minitv->setFrameThickness(OFFSET_INNER_SMALL);
|
||||
}
|
||||
//set changeable minitv properties
|
||||
cc_minitv->setDimensionsAll(_x, _y, w, h);
|
||||
|
Reference in New Issue
Block a user