ccomponents: use COL_SHADOW for shadows

Origin commit data
------------------
Commit: 1f60557e0b
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-08-16 (Tue, 16 Aug 2016)

Origin message was:
------------------
- ccomponents: use COL_SHADOW for shadows
This commit is contained in:
vanhofen
2016-08-16 08:37:38 +02:00
parent 7a9e82e7ed
commit 9c8dabd7ba
22 changed files with 58 additions and 58 deletions

View File

@@ -66,7 +66,7 @@ class CComponentsFooter : public CComponentsHeader
int shadow_mode = CC_SHADOW_OFF,
fb_pixel_t color_frame = COL_MENUCONTENT_PLUS_6,
fb_pixel_t color_body = COL_MENUFOOT_PLUS_0,
fb_pixel_t color_shadow = COL_MENUCONTENTDARK_PLUS_0);
fb_pixel_t color_shadow = COL_SHADOW_PLUS_0);
///show button frame and background, default false
bool btn_contour;
@@ -87,7 +87,7 @@ class CComponentsFooter : public CComponentsHeader
int shadow_mode = CC_SHADOW_OFF,
fb_pixel_t color_frame = COL_MENUCONTENT_PLUS_6,
fb_pixel_t color_body = COL_MENUFOOT_PLUS_0,
fb_pixel_t color_shadow = COL_MENUCONTENTDARK_PLUS_0);
fb_pixel_t color_shadow = COL_SHADOW_PLUS_0);
///add button labels with string label type as content, count as size_t, chain_width as int, label width as int
void setButtonLabels(const struct button_label_s * const content, const size_t& label_count, const int& chain_width = 0, const int& label_width = 0);