mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 16:31:11 +02:00
CComponentsInfoBox: add switch to enable gradient for info box
Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
@@ -109,6 +109,10 @@ void CComponentsInfoBox::paintPicture()
|
||||
|
||||
pic->setColorBody(col_body);
|
||||
|
||||
//set gradient behavior of pic object
|
||||
if (col_body_gradient)
|
||||
pic->doPaintBg(false);
|
||||
|
||||
//fit icon into frame
|
||||
pic->setYPos(y+(height/2-pic->getHeight()/2));
|
||||
|
||||
|
Reference in New Issue
Block a user