CMovieBrowser: add current content background color as image backkground

Avoids transparent shadow artefacts during repaint of images


Origin commit data
------------------
Branch: ni/coolstream
Commit: 9d09bc36ce
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-10-05 (Wed, 05 Oct 2016)



------------------
This commit was generated by Migit
This commit is contained in:
2016-10-05 21:53:28 +02:00
parent e01e574ec8
commit 641ff8d28c

View File

@@ -1314,7 +1314,8 @@ void CMovieBrowser::refreshMovieInfo(void)
lx = m_cBoxFrameInfo.iX + m_cBoxFrameBrowserList.iWidth - flogo_w -14;
ly = m_cBoxFrameInfo.iY + (m_cBoxFrameInfo.iHeight-flogo_h)/2;
if (pic == NULL){ //TODO: paint custom covers with different ratio, currently only works with default ratio HD 16/9
pic = new CComponentsPicture(lx, ly, fname, NULL, CC_SHADOW_ON, COL_MENUCONTENTDARK_PLUS_0);
pic = new CComponentsPicture(lx, ly, fname, NULL, CC_SHADOW_ON, COL_MENUCONTENTDARK_PLUS_0, COL_MENUCONTENT_PLUS_0);
if (pic->getHeight() < flogo_h/2){
flogo_h = flogo_h/2;
pic->setYPos(m_cBoxFrameInfo.iY + (m_cBoxFrameInfo.iHeight-flogo_h)/2);