From 4ada3e7583dfdc658dbebca3c3603be1e3477c12 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Mon, 6 Oct 2014 13:29:36 +0100 Subject: Template-ize collect so that any container can be used. Add new vertical reference of TOP_OF_SUBTITLE, and use references with line numbers as well as proportional specifiers. Add a couple of methods to MetricTime. --- src/dcp_reader.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/dcp_reader.cc') diff --git a/src/dcp_reader.cc b/src/dcp_reader.cc index b938b6c..3634d93 100644 --- a/src/dcp_reader.cc +++ b/src/dcp_reader.cc @@ -47,11 +47,11 @@ class DCPText public: DCPText () : v_position (0) - , v_align (TOP) + , v_align (TOP_OF_SCREEN) {} DCPText (shared_ptr node) - : v_align (CENTRE) + : v_align (CENTRE_OF_SCREEN) { text = node->content (); v_position = node->number_attribute ("VPosition"); -- cgit v1.2.3