Habileté labels in struct
This commit is contained in:
parent
d909c627e0
commit
a6b6e0d5bf
2 changed files with 20 additions and 6 deletions
|
|
@ -169,10 +169,15 @@ namespace gui_to_app {
|
|||
return;
|
||||
}
|
||||
debug_button = app_builder->get_widget<Gtk::Button>("debug_button");
|
||||
hab_labels.base = app_builder->get_widget<Gtk::Label>("habilete_label_base");
|
||||
hab_labels.carac = app_builder->get_widget<Gtk::Label>("habilete_label_carac");
|
||||
hab_labels.mat = app_builder->get_widget<Gtk::Label>("habilete_label_materiel");
|
||||
hab_labels.total = app_builder->get_widget<Gtk::Label>("habilete_label_total");
|
||||
hab_labels = CaracInterface<Gtk::Label>{
|
||||
{
|
||||
"habilete_label_base",
|
||||
"habilete_label_carac",
|
||||
"habilete_label_materiel",
|
||||
"habilete_label_total"
|
||||
},
|
||||
app_builder
|
||||
};
|
||||
|
||||
debug_button->signal_clicked().connect(sigc::mem_fun(*this, &AppWin2Back::debug_button_clicked), false);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue