summaryrefslogtreecommitdiff
path: root/lib/src/turnsmm/turn-order.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/src/turnsmm/turn-order.cpp')
-rw-r--r--lib/src/turnsmm/turn-order.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/src/turnsmm/turn-order.cpp b/lib/src/turnsmm/turn-order.cpp
index ae9bd43..58f4527 100644
--- a/lib/src/turnsmm/turn-order.cpp
+++ b/lib/src/turnsmm/turn-order.cpp
@@ -118,6 +118,11 @@ namespace Turns
return turns_turn_order_get_running(unwrap(this));
}
+ auto TurnOrder::get_round_progress() const noexcept -> float
+ {
+ return turns_turn_order_get_round_progress(unwrap(this));
+ }
+
auto TurnOrder::get_sort_mode() const noexcept -> SortMode
{
return static_cast<SortMode>(turns_turn_order_get_sort_mode(unwrap(this)));
@@ -143,6 +148,11 @@ namespace Turns
return {this, "running"};
}
+ auto TurnOrder::property_round_progress() const noexcept -> Glib::PropertyProxy_ReadOnly<float>
+ {
+ return {this, "round-progress"};
+ }
+
auto TurnOrder::property_sort_mode() noexcept -> Glib::PropertyProxy<SortMode>
{
return {this, "sort-mode"};