diff options
| author | Carl Hetherington <cth@carlh.net> | 2017-01-11 10:24:22 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2017-01-11 10:24:22 +0000 |
| commit | 3d236df4bbe1e7e8a8c8c4c467c9b9178ace00f1 (patch) | |
| tree | fe158d7e4323010c3659d94e3f56363e07999be2 /src/subtitle.h | |
| parent | becc88e69211c07b1fdcd6572084d43728116ee2 (diff) | |
Forward-port STL binary writer from master, pulling in horizontal position stuff.
Diffstat (limited to 'src/subtitle.h')
| -rw-r--r-- | src/subtitle.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/subtitle.h b/src/subtitle.h index 2d22dac..af9ac33 100644 --- a/src/subtitle.h +++ b/src/subtitle.h @@ -25,6 +25,7 @@ #include "effect.h" #include "font_size.h" #include "vertical_position.h" +#include "horizontal_position.h" #include "raw_subtitle.h" #include <boost/optional.hpp> #include <string> @@ -74,11 +75,15 @@ public: class Line { public: - Line () {} + Line () + : horizontal_position (CENTRE) + {} /** Construct a Line taking any relevant information from a RawSubtitle */ Line (RawSubtitle s); + HorizontalPosition horizontal_position; + /** vertical position of the baseline of the text */ VerticalPosition vertical_position; |
