summaryrefslogtreecommitdiff
path: root/gui/include/participant_row.hpp
diff options
context:
space:
mode:
authorFelix Morgner <felix.morgner@gmail.com>2025-05-30 11:45:54 +0200
committerFelix Morgner <felix.morgner@gmail.com>2025-05-30 11:45:54 +0200
commitbfa30ed79cffee4f5c0d33b7fe7bd64581be3fdf (patch)
tree48e451c1aafcbd0d58d45292499ee81effcc82bc /gui/include/participant_row.hpp
parent8ef970b679505ea82ea41e94ffa972a732731eae (diff)
downloadturns-bfa30ed79cffee4f5c0d33b7fe7bd64581be3fdf.tar.xz
turns-bfa30ed79cffee4f5c0d33b7fe7bd64581be3fdf.zip
gui: reintroduce ParticipantRow
Diffstat (limited to 'gui/include/participant_row.hpp')
-rw-r--r--gui/include/participant_row.hpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/gui/include/participant_row.hpp b/gui/include/participant_row.hpp
index 81b3610..1388e41 100644
--- a/gui/include/participant_row.hpp
+++ b/gui/include/participant_row.hpp
@@ -3,16 +3,16 @@
* SPDX-License-Identifier: LGPL-2.1-only
*/
-#ifndef TURNS_UI_PARTICIPANT_ROW_HPP
-#define TURNS_UI_PARTICIPANT_ROW_HPP
+#ifndef TURNS_GUI_PARTICIPANT_ROW_HPP
+#define TURNS_GUI_PARTICIPANT_ROW_HPP
-#include "turns/core/fwd.hpp"
-#include "turns/ui/template_widget.hpp"
+#include "template_widget.hpp"
+
+#include <turnsmm/participant.hpp>
#include <glibmm/property.h>
#include <glibmm/propertyproxy.h>
#include <glibmm/refptr.h>
-
#include <gtkmm/button.h>
#include <gtkmm/label.h>
#include <gtkmm/listboxrow.h>
@@ -20,7 +20,7 @@
#include <array>
-namespace turns::ui
+namespace Turns::gui
{
struct ParticipantRow : template_widget<ParticipantRow, Gtk::ListBoxRow>
{
@@ -32,7 +32,7 @@ namespace turns::ui
"toggle_defeated",
};
- ParticipantRow(Glib::RefPtr<core::Participant> participant);
+ ParticipantRow(Glib::RefPtr<Turns::Participant> participant);
auto delete_enabled() -> Glib::PropertyProxy<bool>;
auto edit_enabled() -> Glib::PropertyProxy<bool>;
@@ -50,6 +50,6 @@ namespace turns::ui
Glib::Property<bool> m_delete_enabled;
Glib::Property<bool> m_edit_enabled;
};
-} // namespace turns::ui::widgets
+} // namespace Turns::gui
#endif \ No newline at end of file