CComponentsFooter: use select/unselect colors from menues as default

This commit is contained in:
2016-11-20 16:32:37 +01:00
parent 01893dfefc
commit 4b88a244da

View File

@@ -160,10 +160,10 @@ class CComponentsFooter : public CComponentsHeader
void setSelectedButton(size_t item_id,
const fb_pixel_t& fr_col = COL_MENUCONTENTSELECTED_PLUS_2,
const fb_pixel_t& sel_fr_col = COL_MENUCONTENTSELECTED_PLUS_0,
const fb_pixel_t& bg_col = COL_MENUFOOT_PLUS_0, /*TODO disabled at the moment, without effect*/
const fb_pixel_t& sel_bg_col = COL_MENUCONTENTSELECTED_PLUS_2, /*TODO disabled at the moment, without effect*/
const fb_pixel_t& text_col = COL_MENUCONTENTDARK_TEXT_PLUS_2,
const fb_pixel_t& sel_text_col = COL_MENUCONTENT_TEXT,
const fb_pixel_t& bg_col = COL_MENUCONTENT_PLUS_0,
const fb_pixel_t& sel_bg_col = COL_MENUCONTENTSELECTED_PLUS_0,
const fb_pixel_t& text_col = COL_MENUCONTENT_TEXT,
const fb_pixel_t& sel_text_col = COL_MENUCONTENTSELECTED_TEXT,
const int& frame_width = 1,
const int& sel_frame_width = 1);
///returns id of select button, return value as int, -1 = nothing is selected