summaryrefslogtreecommitdiff
path: root/src/text_asset.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/text_asset.h')
-rw-r--r--src/text_asset.h5
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
{