Add choose buttons for the SDF fields in rectangle special nodes
This commit is contained in:
@@ -516,14 +516,16 @@ static std::map<eSpecType, node_properties_t> loadProps() {
|
||||
props.p_btn = button_dict[j][3][k];
|
||||
props.pt_btn = button_dict[j][4][k];
|
||||
if(category != eSpecCat::RECT) {
|
||||
props.sd1_btn = ' ';
|
||||
props.x1a_btn = button_dict[j][5][k];
|
||||
props.x1b_btn = button_dict[j][6][k];
|
||||
}
|
||||
} else props.sd1_btn = button_dict[j][5][k];
|
||||
props.x1c_btn = button_dict[j][7][k];
|
||||
if(category != eSpecCat::RECT) {
|
||||
props.sd2_btn = ' ';
|
||||
props.x2a_btn = button_dict[j][8][k];
|
||||
props.x2b_btn = button_dict[j][9][k];
|
||||
}
|
||||
} else props.sd2_btn = button_dict[j][8][k];
|
||||
props.x2c_btn = button_dict[j][10][k];
|
||||
if(category == eSpecCat::RECT) {
|
||||
props.x1a_btn = props.x2a_btn = ' ';
|
||||
|
||||
@@ -65,7 +65,7 @@ struct node_properties_t {
|
||||
std::string ex1a_lbl() const, ex1b_lbl() const, ex1c_lbl() const, ex1a_hlp() const, ex1b_hlp() const, ex1c_hlp() const;
|
||||
std::string ex2a_lbl() const, ex2b_lbl() const, ex2c_lbl() const, ex2a_hlp() const, ex2b_hlp() const, ex2c_hlp() const;
|
||||
std::string jmp_lbl() const, jmp_hlp() const;
|
||||
char m1_btn, m2_btn, m3_btn, p_btn, pt_btn;
|
||||
char sd1_btn, sd2_btn, m1_btn, m2_btn, m3_btn, p_btn, pt_btn;
|
||||
char x1a_btn, x1b_btn, x1c_btn, x2a_btn, x2b_btn, x2c_btn;
|
||||
node_properties_t() {}
|
||||
node_properties_t(std::initializer_list<std::function<void(node_properties_t)>>);
|
||||
|
||||
Reference in New Issue
Block a user