summaryrefslogtreecommitdiff
path: root/src/dcp_reader.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2014-10-06 13:29:36 +0100
committerCarl Hetherington <cth@carlh.net>2014-10-06 13:29:36 +0100
commit4ada3e7583dfdc658dbebca3c3603be1e3477c12 (patch)
tree0516fdd142b79e7083ed3d455fe45fffce26a9a8 /src/dcp_reader.cc
parent86440b2afe0a2b83a7e810f37b1f65dbddee90e8 (diff)
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.
Diffstat (limited to 'src/dcp_reader.cc')
-rw-r--r--src/dcp_reader.cc4
1 files changed, 2 insertions, 2 deletions
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<const cxml::Node> node)
- : v_align (CENTRE)
+ : v_align (CENTRE_OF_SCREEN)
{
text = node->content ();
v_position = node->number_attribute<float> ("VPosition");