summaryrefslogtreecommitdiff
path: root/test/write_subtitle_test.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2015-06-03 23:32:48 +0100
committerCarl Hetherington <cth@carlh.net>2015-06-03 23:32:48 +0100
commite1f53890da6e4be2555a9e17a52edcc03d53656b (patch)
treeff148f4d8dc54b1a09fa21ca743fce261f01c021 /test/write_subtitle_test.cc
parent47b52fb54f302d5faf93a19ae2fe28fa610f96ca (diff)
Basic HAlign / HPosition support.
Diffstat (limited to 'test/write_subtitle_test.cc')
-rw-r--r--test/write_subtitle_test.cc8
1 files changed, 6 insertions, 2 deletions
diff --git a/test/write_subtitle_test.cc b/test/write_subtitle_test.cc
index a017547b..1a6f96bd 100644
--- a/test/write_subtitle_test.cc
+++ b/test/write_subtitle_test.cc
@@ -40,8 +40,10 @@ BOOST_AUTO_TEST_CASE (write_subtitle_test)
1.0,
dcp::Time (0, 4, 9, 22, 24),
dcp::Time (0, 4, 11, 22, 24),
+ 0,
+ dcp::HALIGN_CENTER,
0.8,
- dcp::TOP,
+ dcp::VALIGN_TOP,
"Hello world",
dcp::NONE,
dcp::Colour (0, 0, 0),
@@ -59,8 +61,10 @@ BOOST_AUTO_TEST_CASE (write_subtitle_test)
1.0,
dcp::Time (5, 41, 0, 21, 24),
dcp::Time (6, 12, 15, 21, 24),
+ 0,
+ dcp::HALIGN_CENTER,
0.4,
- dcp::BOTTOM,
+ dcp::VALIGN_BOTTOM,
"What's going on",
dcp::BORDER,
dcp::Colour (1, 2, 3),