Adding luck
This commit is contained in:
parent
dc33da4368
commit
a2bd12c993
2 changed files with 12 additions and 0 deletions
|
|
@ -196,6 +196,15 @@ namespace gui_to_app {
|
||||||
},
|
},
|
||||||
app_builder
|
app_builder
|
||||||
};
|
};
|
||||||
|
luck_labels = CaracInterface<Gtk::Label>{
|
||||||
|
{
|
||||||
|
"chance_label_base",
|
||||||
|
"chance_label_carac",
|
||||||
|
"chance_label_materiel",
|
||||||
|
"chance_label_total"
|
||||||
|
},
|
||||||
|
app_builder
|
||||||
|
};
|
||||||
|
|
||||||
debug_button->signal_clicked().connect(sigc::mem_fun(*this, &AppWin2Back::debug_button_clicked), false);
|
debug_button->signal_clicked().connect(sigc::mem_fun(*this, &AppWin2Back::debug_button_clicked), false);
|
||||||
}
|
}
|
||||||
|
|
@ -254,6 +263,7 @@ namespace gui_to_app {
|
||||||
update_in_labels(sheet.get_habilete(), "hab", hab_labels);
|
update_in_labels(sheet.get_habilete(), "hab", hab_labels);
|
||||||
update_in_labels(sheet.get_endurance(), "endu", endu_labels);
|
update_in_labels(sheet.get_endurance(), "endu", endu_labels);
|
||||||
update_in_labels(sheet.get_adresse(), "adresse", addr_labels);
|
update_in_labels(sheet.get_adresse(), "adresse", addr_labels);
|
||||||
|
update_in_labels(sheet.get_chance(), "chance", luck_labels);
|
||||||
}
|
}
|
||||||
|
|
||||||
bool AppWin2Back::insert_obj(const character::billyEnums &obj) noexcept {
|
bool AppWin2Back::insert_obj(const character::billyEnums &obj) noexcept {
|
||||||
|
|
|
||||||
|
|
@ -106,6 +106,8 @@ namespace gui_to_app {
|
||||||
|
|
||||||
CaracInterface<Gtk::Label> addr_labels;
|
CaracInterface<Gtk::Label> addr_labels;
|
||||||
|
|
||||||
|
CaracInterface<Gtk::Label> luck_labels;
|
||||||
|
|
||||||
Gtk::Button *debug_button{ nullptr };
|
Gtk::Button *debug_button{ nullptr };
|
||||||
|
|
||||||
std::array<SwitchSignalHelper, 12> signal_handlers{
|
std::array<SwitchSignalHelper, 12> signal_handlers{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue