CComponentsShape/CComponentsShapeCircle: don't use CC_SHADOW_ON as default

It has been shown, most shapes don't require any shadow.
This commit is contained in:
2014-08-18 15:25:11 +02:00
parent 6842dc530a
commit 221bb9be33

View File

@@ -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);