summaryrefslogtreecommitdiff
path: root/src/raw_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/raw_subtitle.h
parent6a90762b8d103d256aa3851e55574154881a4612 (diff)
Support horizontal positioning in STL binary reader/writer and DCP reader.
Diffstat (limited to 'src/raw_subtitle.h')
-rw-r--r--src/raw_subtitle.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/raw_subtitle.h b/src/raw_subtitle.h
index 8a8ac7f..f3cf93c 100644
--- a/src/raw_subtitle.h
+++ b/src/raw_subtitle.h
@@ -24,6 +24,7 @@
#include "metric_time.h"
#include "colour.h"
#include "vertical_reference.h"
+#include "horizontal_position.h"
#include "effect.h"
#include "time_pair.h"
#include "font_size.h"
@@ -45,6 +46,7 @@ public:
, bold (false)
, italic (false)
, underline (false)
+ , horizontal_position (CENTRE)
{}
/** Subtitle text in UTF-8 */
@@ -62,6 +64,8 @@ public:
bool italic; ///< true to use an italic version of font
bool underline; ///< true to underline
+ HorizontalPosition horizontal_position;
+
/** vertical position of the baseline of the text */
VerticalPosition vertical_position;