cc_types: rename order_id -> sort_id for more plausibility

Origin commit data
------------------
Commit: 60188e80ab
Author: Thilo Graf <dbt@novatux.de>
Date: 2020-12-07 (Mon, 07 Dec 2020)
This commit is contained in:
2020-12-07 23:28:52 +01:00
committed by vanhofen
parent 0a76224f00
commit da27b51fdd

View File

@@ -200,16 +200,16 @@ 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; uint32_t sort_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){} sort_id(0){}
bool operator< (const button_label_cc& i) const bool operator< (const button_label_cc& i) const
{ {
return this->order_id < i.order_id ; return this->sort_id < i.sort_id ;
} }
} button_label_cc_struct; } button_label_cc_struct;