From e38b99f8db73122c5ea781a3d465c21fc7527d3b Mon Sep 17 00:00:00 2001 From: Thilo Graf Date: Mon, 7 Dec 2020 20:33:52 +0100 Subject: [PATCH] cc_types: add variables for select and preselect images and select text color --- src/gui/components/cc_types.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/gui/components/cc_types.h b/src/gui/components/cc_types.h index 971c9d9c1..5555f6946 100644 --- a/src/gui/components/cc_types.h +++ b/src/gui/components/cc_types.h @@ -200,8 +200,11 @@ typedef struct button_label_cc int btn_result; int btn_alias; std::string bg_image; + std::string bg_sel_image; + std::string bg_pre_sel_image; std::string hint; fb_pixel_t text_color; + fb_pixel_t text_sel_color; uint32_t sort_id; //defaults button_label_cc(): button(NULL), @@ -209,6 +212,7 @@ typedef struct button_label_cc locale(NONEXISTANT_LOCALE), directKeys(0, RC_NOKEY /*CRCInput::RC_nokey*/), text_color(COL_MENUCONTENTSELECTED_PLUS_0), + text_sel_color(COL_MENUCONTENTSELECTED_PLUS_0), sort_id(0){} bool operator< (const button_label_cc& i) const {