mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-28 07:51:19 +02:00
Merge branch 'master' into pu/fb-setmode
This commit is contained in:
@@ -29,18 +29,6 @@
|
|||||||
#include <global.h>
|
#include <global.h>
|
||||||
#include <gui/widget/buttons.h> //for compatibility with 'button_label' type
|
#include <gui/widget/buttons.h> //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
|
CComponentsFooter, sub class of CComponentsHeader provides prepared container for footer
|
||||||
|
@@ -175,6 +175,22 @@ typedef struct cc_string_ext_txt_t
|
|||||||
Font* font;
|
Font* font;
|
||||||
} cc_string_ext_txt_struct_t;
|
} 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_WIDTH_MIN 16
|
||||||
#define CC_HEIGHT_MIN 16
|
#define CC_HEIGHT_MIN 16
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user