aboutsummaryrefslogtreecommitdiff
path: root/ui/src/turn_order_view.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ui/src/turn_order_view.cpp')
-rw-r--r--ui/src/turn_order_view.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/ui/src/turn_order_view.cpp b/ui/src/turn_order_view.cpp
index 51a0de8..d1be0d4 100644
--- a/ui/src/turn_order_view.cpp
+++ b/ui/src/turn_order_view.cpp
@@ -23,11 +23,11 @@ namespace turns::ui
{
namespace
{
- auto constexpr static TYPE_NAME = "turn_order_view";
+ auto constexpr static TYPE_NAME = "TurnOrderView";
auto constexpr static TEMPLATE = "/ch/arknet/Turns/turn_order_view.ui";
} // namespace
- turn_order_view::turn_order_view(Glib::RefPtr<model_type> model)
+ TurnOrderView::TurnOrderView(Glib::RefPtr<model_type> model)
: Glib::ObjectBase(TYPE_NAME)
, template_widget{TEMPLATE}
, m_model{model}
@@ -41,11 +41,11 @@ namespace turns::ui
set_orientation(Gtk::Orientation::VERTICAL);
- m_view->bind_model(m_model, sigc::mem_fun(*this, &turn_order_view::handle_create_row));
+ m_view->bind_model(m_model, sigc::mem_fun(*this, &TurnOrderView::handle_create_row));
Glib::Binding::bind_property(m_model->progress(), m_progress->property_fraction(), Glib::Binding::Flags::SYNC_CREATE);
}
- auto turn_order_view::handle_create_row(Glib::RefPtr<Glib::Object> const item) -> Gtk::Widget *
+ auto TurnOrderView::handle_create_row(Glib::RefPtr<Glib::Object> const item) -> Gtk::Widget *
{
auto participant = std::dynamic_pointer_cast<core::participant>(item);
auto row = Gtk::make_managed<ParticipantRow>(participant);