animacions a renderinfo

This commit is contained in:
2026-04-05 01:03:48 +02:00
parent 91f88ded09
commit 4238ae1bc4
9 changed files with 181 additions and 32 deletions

View File

@@ -94,6 +94,8 @@ namespace Options {
else
render_info.position = RenderInfoPosition::OFF;
}
if (node.contains("show_time"))
render_info.show_time = node["show_time"].get_value<bool>();
if (node.contains("text_color"))
render_info.text_color = static_cast<Uint32>(node["text_color"].get_value<uint64_t>());
if (node.contains("shadow_color"))
@@ -238,6 +240,7 @@ namespace Options {
pos = "bottom";
file << " position: " << pos << " # off/top/bottom\n";
}
file << " show_time: " << (render_info.show_time ? "true" : "false") << "\n";
file << " text_color: " << render_info.text_color << "\n";
file << " shadow_color: " << render_info.shadow_color << "\n";
file << "\n";