diff options
| author | Carl Hetherington <cth@carlh.net> | 2025-03-20 21:02:55 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2025-03-24 00:29:31 +0100 |
| commit | 8edb46702b372b6e672d0ac8f810e151e1aa5707 (patch) | |
| tree | e2a458fc456b3bd98982e6e31c0ec7589ab25274 /src/text_asset.h | |
| parent | 0322c4604bf79c11a99dcd929a6f74685a0a4e31 (diff) | |
Read/write subtitle variable Z.v1.10.16
Diffstat (limited to 'src/text_asset.h')
| -rw-r--r-- | src/text_asset.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/text_asset.h b/src/text_asset.h index 4d739027..113896f8 100644 --- a/src/text_asset.h +++ b/src/text_asset.h @@ -44,6 +44,7 @@ #include "array_data.h" #include "asset.h" #include "dcp_time.h" +#include "load_variable_z.h" #include "subtitle_standard.h" #include "text_string.h" #include <libcxml/cxml.h> @@ -156,6 +157,7 @@ protected: boost::optional<float> v_position; boost::optional<VAlign> v_align; boost::optional<float> z_position; + boost::optional<std::string> variable_z; boost::optional<Direction> direction; boost::optional<Time> in; boost::optional<Time> out; @@ -167,6 +169,8 @@ protected: }; boost::optional<Type> type; float space_before = 0; + + std::vector<LoadVariableZ> load_variable_z; }; void parse_texts(xmlpp::Element const * node, std::vector<ParseState>& state, boost::optional<int> tcr, Standard standard); @@ -181,6 +185,7 @@ protected: /** All our texts, in no particular order */ std::vector<std::shared_ptr<Text>> _texts; + std::vector<LoadVariableZ> _load_variable_z; class Font { |
