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
|
||||
};
|
||||
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);
|
||||
}
|
||||
|
|
@ -254,6 +263,7 @@ namespace gui_to_app {
|
|||
update_in_labels(sheet.get_habilete(), "hab", hab_labels);
|
||||
update_in_labels(sheet.get_endurance(), "endu", endu_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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue