CComponentsFooter: use background color of footer inside chain object

Ensure pass of bg color from parent into chain object and button objects.
Required by embedded button objects. This prevents "holes" on screen.


Origin commit data
------------------
Branch: ni/coolstream
Commit: a92757697f
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-08-20 (Sat, 20 Aug 2016)



------------------
This commit was generated by Migit
This commit is contained in:
2016-08-20 23:54:40 +02:00
parent 52f7933b22
commit a593f3eec3

View File

@@ -117,7 +117,7 @@ void CComponentsFooter::setButtonLabels(const struct button_label_s * const cont
//footer as primary container (in this context '=this') and the parent for the button label container (chain object),
//button label container (chain object) itself is concurrent the parent object for button objects.
if (chain == NULL){
chain = new CComponentsFrmChain(x_chain, CC_CENTERED, w_chain, height, 0, CC_DIR_X, this);
chain = new CComponentsFrmChain(x_chain, CC_CENTERED, w_chain, height, 0, CC_DIR_X, this, CC_SHADOW_OFF, COL_MENUCONTENT_PLUS_6, col_body);
chain->setCorner(this->corner_rad, this->corner_type);
chain->doPaintBg(false);
}