From ee03fd414e2c6e3dd398107ceb4ee365ff427adc Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Fri, 16 Jan 2015 10:35:44 +0000 Subject: Support horizontal alignment specification in subtitles. --- src/parse/subtitle.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/parse/subtitle.h') diff --git a/src/parse/subtitle.h b/src/parse/subtitle.h index 867b3f0e..3993a6be 100644 --- a/src/parse/subtitle.h +++ b/src/parse/subtitle.h @@ -34,13 +34,14 @@ class Text public: Text () : v_position (0) - , v_align (TOP) + , v_align (VERTICAL_TOP) {} Text (boost::shared_ptr node, boost::optional tcr); float v_position; VAlign v_align; + HAlign h_align; std::string text; std::list > font_nodes; }; -- cgit v1.2.3