mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-28 07:51:19 +02:00
CCDraw: add private variable col_shadow_clean
Should help to control shadow clean up in some constallations
This commit is contained in:
@@ -40,6 +40,7 @@ CCDraw::CCDraw() : COSDFader(g_settings.theme.menu_Content_alpha)
|
||||
col_body = col_body_old = COL_MENUCONTENT_PLUS_0;
|
||||
col_shadow = col_shadow_old = COL_SHADOW_PLUS_0;
|
||||
col_frame = col_frame_old = COL_FRAME_PLUS_0;
|
||||
col_shadow_clean = 0;
|
||||
|
||||
fr_thickness = fr_thickness_old = 0;
|
||||
|
||||
|
@@ -67,6 +67,8 @@ class CCDraw : public COSDFader, public CComponentsSignals
|
||||
fb_pixel_t col_shadow, col_shadow_old;
|
||||
///property: color of frame
|
||||
fb_pixel_t col_frame, col_frame_old;
|
||||
///internal property: color for shadow clean up
|
||||
fb_pixel_t col_shadow_clean;
|
||||
|
||||
///property: frame thickness, see also setFrameThickness()
|
||||
int fr_thickness, fr_thickness_old;
|
||||
|
@@ -95,7 +95,6 @@ void CComponentsItem::paintInit(bool do_save_bg)
|
||||
//Workaround: ensure radius values >= 0, framebuffer methode paintBoxRel() gets confused
|
||||
box_rad = max(box_rad, 0);
|
||||
|
||||
fb_pixel_t col_shadow_clean = 0;
|
||||
//if item is bound on a parent form,...
|
||||
if (cc_parent){
|
||||
//...we must use real x/y values and from parent form as reference
|
||||
|
Reference in New Issue
Block a user