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_image.cc | |
| parent | 0322c4604bf79c11a99dcd929a6f74685a0a4e31 (diff) | |
Read/write subtitle variable Z.v1.10.16
Diffstat (limited to 'src/text_image.cc')
| -rw-r--r-- | src/text_image.cc | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/text_image.cc b/src/text_image.cc index 7a6c4222..119a6301 100644 --- a/src/text_image.cc +++ b/src/text_image.cc @@ -47,6 +47,8 @@ using std::dynamic_pointer_cast; using std::ostream; using std::shared_ptr; using std::string; +using std::vector; +using boost::optional; using namespace dcp; @@ -59,10 +61,11 @@ TextImage::TextImage( float v_position, VAlign v_align, float z_position, + vector<VariableZPosition> variable_z_positions, Time fade_up_time, Time fade_down_time ) - : Text(in, out, h_position, h_align, v_position, v_align, z_position, fade_up_time, fade_down_time) + : Text(in, out, h_position, h_align, v_position, v_align, z_position, variable_z_positions, fade_up_time, fade_down_time) , _png_image (png_image) , _id (make_uuid ()) { @@ -80,10 +83,11 @@ TextImage::TextImage( float v_position, VAlign v_align, float z_position, + vector<VariableZPosition> variable_z_positions, Time fade_up_time, Time fade_down_time ) - : Text(in, out, h_position, h_align, v_position, v_align, z_position, fade_up_time, fade_down_time) + : Text(in, out, h_position, h_align, v_position, v_align, z_position, variable_z_positions, fade_up_time, fade_down_time) , _png_image (png_image) , _id (id) { |
