animacions a renderinfo
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user