cc_types.h: add item 'order_id' to button_label_cc struct

This commit is contained in:
2019-04-05 21:52:53 +02:00
parent e4b7bfef93
commit f387150bf1

View File

@@ -200,11 +200,17 @@ typedef struct button_label_cc
int btn_alias;
std::string bg_image;
std::string hint;
uint32_t order_id;
//defaults
button_label_cc(): button(NULL),
text(std::string()),
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;
#define CC_WIDTH_MIN CFrameBuffer::getInstance()->scale2Res(16)