return { make_shared<TextContent>(parent, node, version) };
}
- if (!node->optional_node_child("Text")) {
- return {};
- }
-
list<shared_ptr<TextContent>> c;
for (auto i: node->node_children("Text")) {
c.push_back (make_shared<TextContent>(parent, i, version));
, _outline_width (node->optional_number_child<int>("OutlineWidth").get_value_or(4))
, _type (TextType::OPEN_SUBTITLE)
, _original_type (TextType::OPEN_SUBTITLE)
- , _language ("en-US")
{
if (version >= 37) {
_use = node->bool_child ("Use");