diff --git a/src/gui/components/cc_frm_footer.h b/src/gui/components/cc_frm_footer.h index 5add6ffae..3cc572605 100644 --- a/src/gui/components/cc_frm_footer.h +++ b/src/gui/components/cc_frm_footer.h @@ -29,18 +29,6 @@ #include #include //for compatibility with 'button_label' type -//for 'button_label' type with string -typedef struct button_label_cc -{ - const char * button; - std::string text; - neutrino_locale_t locale; - neutrino_msg_t directKey; - neutrino_msg_t directKeyAlt; - int btn_result; - int btn_alias; - button_label_cc(): text(std::string()), locale(NONEXISTANT_LOCALE){} -} button_label_cc_struct; /*! CComponentsFooter, sub class of CComponentsHeader provides prepared container for footer diff --git a/src/gui/components/cc_types.h b/src/gui/components/cc_types.h index c76520bb8..5f56ee181 100644 --- a/src/gui/components/cc_types.h +++ b/src/gui/components/cc_types.h @@ -175,6 +175,22 @@ typedef struct cc_string_ext_txt_t Font* font; } cc_string_ext_txt_struct_t; + +//for 'button_label' type with string +typedef struct button_label_cc +{ + const char * button; + std::string text; + neutrino_locale_t locale; + neutrino_msg_t directKey; + neutrino_msg_t directKeyAlt; + int btn_result; + int btn_alias; + std::string bg_image; + std::string hint; + button_label_cc(): button(NULL), text(std::string()), locale(NONEXISTANT_LOCALE){} +} button_label_cc_struct; + #define CC_WIDTH_MIN 16 #define CC_HEIGHT_MIN 16