mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-26 23:13:13 +02:00
cc_types.h: add item 'order_id' to button_label_cc struct
This commit is contained in:
@@ -200,11 +200,17 @@ typedef struct button_label_cc
|
|||||||
int btn_alias;
|
int btn_alias;
|
||||||
std::string bg_image;
|
std::string bg_image;
|
||||||
std::string hint;
|
std::string hint;
|
||||||
|
uint32_t order_id;
|
||||||
//defaults
|
//defaults
|
||||||
button_label_cc(): button(NULL),
|
button_label_cc(): button(NULL),
|
||||||
text(std::string()),
|
text(std::string()),
|
||||||
locale(NONEXISTANT_LOCALE),
|
locale(NONEXISTANT_LOCALE),
|
||||||
directKeys(0, RC_NOKEY /*CRCInput::RC_nokey*/){}
|
directKeys(0, RC_NOKEY /*CRCInput::RC_nokey*/),
|
||||||
|
order_id(0){}
|
||||||
|
bool operator< (const button_label_cc& i) const
|
||||||
|
{
|
||||||
|
return this->order_id < i.order_id ;
|
||||||
|
}
|
||||||
} button_label_cc_struct;
|
} button_label_cc_struct;
|
||||||
|
|
||||||
#define CC_WIDTH_MIN CFrameBuffer::getInstance()->scale2Res(16)
|
#define CC_WIDTH_MIN CFrameBuffer::getInstance()->scale2Res(16)
|
||||||
|
Reference in New Issue
Block a user