diff options
| author | Carl Hetherington <cth@carlh.net> | 2015-01-16 10:35:44 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2015-01-16 10:35:44 +0000 |
| commit | ee03fd414e2c6e3dd398107ceb4ee365ff427adc (patch) | |
| tree | ff1450b622a1dbbee751bcbe5b829c21f8d144c6 /src/parse/subtitle.h | |
| parent | d67d3fc2281c7d83ff2a4e3913f63022bd5f8f16 (diff) | |
Support horizontal alignment specification in subtitles.
Diffstat (limited to 'src/parse/subtitle.h')
| -rw-r--r-- | src/parse/subtitle.h | 3 |
1 files changed, 2 insertions, 1 deletions
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<const cxml::Node> node, boost::optional<int> tcr); float v_position; VAlign v_align; + HAlign h_align; std::string text; std::list<boost::shared_ptr<Font> > font_nodes; }; |
