summaryrefslogtreecommitdiff
path: root/src/subtitle.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2015-01-16 10:35:00 +0000
committerCarl Hetherington <cth@carlh.net>2015-01-16 10:35:00 +0000
commitf9c43d87b62653c2d37d4a7b470ca7d4c30b6af0 (patch)
tree1cba96c7bd5a80fec7969aae16af3da4adadd54b /src/subtitle.h
parent6a90762b8d103d256aa3851e55574154881a4612 (diff)
Support horizontal positioning in STL binary reader/writer and DCP reader.
Diffstat (limited to 'src/subtitle.h')
-rw-r--r--src/subtitle.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/subtitle.h b/src/subtitle.h
index 6afdc51..0a9eb9d 100644
--- a/src/subtitle.h
+++ b/src/subtitle.h
@@ -77,11 +77,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;