summaryrefslogtreecommitdiff
path: root/app/include
diff options
context:
space:
mode:
authorFelix Morgner <felix.morgner@gmail.com>2024-07-14 22:39:04 +0200
committerFelix Morgner <felix.morgner@gmail.com>2024-07-14 22:39:04 +0200
commit9c1a9f41e2cef7f6e151a5f08367607e16d0f908 (patch)
treed7abb8ab7e3ea86c920bbe0698233795ad96d171 /app/include
parent05da3897f944f5775d25de2136ea985d4b0078eb (diff)
downloadturns-9c1a9f41e2cef7f6e151a5f08367607e16d0f908.tar.xz
turns-9c1a9f41e2cef7f6e151a5f08367607e16d0f908.zip
app/ui: enable deletion of participants
Diffstat (limited to 'app/include')
-rw-r--r--app/include/turns/app/widgets/participant_list_row.hpp3
1 files changed, 3 insertions, 0 deletions
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<participant_list_row, Gtk::ListBoxRow>
{
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;