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/stl_text_reader.cc | 1 + 1 file changed, 1 insertion(+) (limited to 'src/stl_text_reader.cc') diff --git a/src/stl_text_reader.cc b/src/stl_text_reader.cc index 7eaa24b..3c60e41 100644 --- a/src/stl_text_reader.cc +++ b/src/stl_text_reader.cc @@ -39,6 +39,7 @@ using namespace sub; STLTextReader::STLTextReader (istream& in) { _subtitle.vertical_position.line = 0; + _subtitle.vertical_position.reference = TOP_OF_SCREEN; while (in.good ()) { string line; -- cgit v1.2.3