From 221bb9be33a36115fdfc5868d402dc131af1a862 Mon Sep 17 00:00:00 2001 From: Thilo Graf Date: Mon, 18 Aug 2014 15:25:11 +0200 Subject: [PATCH] CComponentsShape/CComponentsShapeCircle: don't use CC_SHADOW_ON as default It has been shown, most shapes don't require any shadow. --- src/gui/components/cc_item_shapes.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gui/components/cc_item_shapes.h b/src/gui/components/cc_item_shapes.h index db53d66ec..7457d88e3 100644 --- a/src/gui/components/cc_item_shapes.h +++ b/src/gui/components/cc_item_shapes.h @@ -45,7 +45,7 @@ class CComponentsShapeCircle : public CComponentsItem public: CComponentsShapeCircle( const int x_pos, const int y_pos, const int diam, CComponentsForm *parent = NULL, - bool has_shadow = CC_SHADOW_ON, + bool has_shadow = CC_SHADOW_OFF, fb_pixel_t color_frame = COL_MENUCONTENT_PLUS_6, fb_pixel_t color_body = COL_MENUCONTENT_PLUS_0, fb_pixel_t color_shadow = COL_MENUCONTENTDARK_PLUS_0); ///set property: diam @@ -62,7 +62,7 @@ class CComponentsShapeSquare : public CComponentsItem public: CComponentsShapeSquare( const int x_pos, const int y_pos, const int w, const int h, CComponentsForm *parent = NULL, - bool has_shadow = CC_SHADOW_ON, + bool has_shadow = CC_SHADOW_OFF, fb_pixel_t color_frame = COL_MENUCONTENT_PLUS_6, fb_pixel_t color_body = COL_MENUCONTENT_PLUS_0, fb_pixel_t color_shadow = COL_MENUCONTENTDARK_PLUS_0); void paint(bool do_save_bg = CC_SAVE_SCREEN_YES);