From bc890eaa66a67725364cb4a5ae6f32d110444dba Mon Sep 17 00:00:00 2001 From: Thilo Graf Date: Mon, 7 Dec 2020 20:33:52 +0100 Subject: [PATCH] cc_types: add text color with default value to type button_label_cc --- src/gui/components/cc_types.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/gui/components/cc_types.h b/src/gui/components/cc_types.h index a26bdfd46..971c9d9c1 100644 --- a/src/gui/components/cc_types.h +++ b/src/gui/components/cc_types.h @@ -29,6 +29,7 @@ #include #include #include +#include #include #include @@ -200,12 +201,14 @@ typedef struct button_label_cc int btn_alias; std::string bg_image; std::string hint; + fb_pixel_t text_color; uint32_t sort_id; //defaults button_label_cc(): button(NULL), text(std::string()), locale(NONEXISTANT_LOCALE), directKeys(0, RC_NOKEY /*CRCInput::RC_nokey*/), + text_color(COL_MENUCONTENTSELECTED_PLUS_0), sort_id(0){} bool operator< (const button_label_cc& i) const {