CComponentsShape/CComponentsShapeCircle: don't use CC_SHADOW_ON as default

It has been shown, most shapes don't require any shadow.


Origin commit data
------------------
Branch: ni/coolstream
Commit: 221bb9be33
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-08-18 (Mon, 18 Aug 2014)



------------------
This commit was generated by Migit
This commit is contained in:
2014-08-18 15:25:11 +02:00
parent b4a9f82966
commit d5a4e2f612

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