cc: rework color handling for select and focus status

This commit is contained in:
2020-12-07 20:33:52 +01:00
parent 26030ee914
commit c88a6ff7b3
26 changed files with 168 additions and 86 deletions

View File

@@ -59,7 +59,7 @@ CComponentsInfoBox::CComponentsInfoBox( const int& x_pos,
shadow = shadow_mode;
col_frame = color_frame;
cc_enable_frame = true;
col_body = color_body;
col_body_std = color_body;
col_shadow = color_shadow;
ct_text = info_text;
@@ -124,7 +124,7 @@ void CComponentsInfoBox::paintPicture()
string image = frameBuffer->getIconPath(pic_name);
pic = new CComponentsPicture(x_pic+x_offset, y_pic, pic_width, min(pic_height, height-2*fr_thickness), image); //NOTE: icons do not scale!
pic->setColorBody(col_body);
pic->setColorBody(col_body_std);
//set gradient behavior of pic object
if (cc_body_gradient_enable)