From 3ed46b81adb3f08dbf9eabd4a9adf1779945d35e Mon Sep 17 00:00:00 2001 From: Thilo Graf Date: Mon, 7 Dec 2020 23:28:52 +0100 Subject: [PATCH] cc_types: add variables for select and preselect images and select text color Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/12d97df1a2ce98fc32d49eabe4ad23d29c8c6113 Author: Thilo Graf Date: 2020-12-07 (Mon, 07 Dec 2020) ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- 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 {