diff --git a/app_win_2_back.cpp b/app_win_2_back.cpp index dcdb5ce..968380e 100644 --- a/app_win_2_back.cpp +++ b/app_win_2_back.cpp @@ -187,6 +187,15 @@ namespace gui_to_app { }, app_builder }; + addr_labels = CaracInterface{ + { + "adresse_label_base", + "adresse_label_carac", + "adresse_label_materiel", + "adresse_label_total" + }, + app_builder + }; debug_button->signal_clicked().connect(sigc::mem_fun(*this, &AppWin2Back::debug_button_clicked), false); } @@ -244,6 +253,7 @@ namespace gui_to_app { void AppWin2Back::update_labels() const noexcept { 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); } bool AppWin2Back::insert_obj(const character::billyEnums &obj) noexcept { diff --git a/app_win_2_back.hpp b/app_win_2_back.hpp index 2238ccf..0240923 100644 --- a/app_win_2_back.hpp +++ b/app_win_2_back.hpp @@ -104,6 +104,8 @@ namespace gui_to_app { CaracInterface endu_labels; + CaracInterface addr_labels; + Gtk::Button *debug_button{ nullptr }; std::array signal_handlers{