From 9c1a9f41e2cef7f6e151a5f08367607e16d0f908 Mon Sep 17 00:00:00 2001 From: Felix Morgner Date: Sun, 14 Jul 2024 22:39:04 +0200 Subject: app/ui: enable deletion of participants --- app/include/turns/app/widgets/participant_list_row.hpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'app/include') diff --git a/app/include/turns/app/widgets/participant_list_row.hpp b/app/include/turns/app/widgets/participant_list_row.hpp index 8ec5979..f282992 100644 --- a/app/include/turns/app/widgets/participant_list_row.hpp +++ b/app/include/turns/app/widgets/participant_list_row.hpp @@ -17,6 +17,7 @@ namespace turns::app::widgets struct participant_list_row : template_widget { auto constexpr inline static children = std::array{ + "delete", "edit", "subtitle", "title", @@ -29,8 +30,10 @@ namespace turns::app::widgets auto set_title(Glib::ustring const & value) -> void; private: + auto handle_delete() -> void; auto handle_toggle_defeated() -> void; + Gtk::Button * m_delete; Gtk::Button * m_edit; Gtk::Label * m_subtitle; Gtk::EditableLabel * m_title; -- cgit v1.2.3