summaryrefslogtreecommitdiff
path: root/src/raw_subtitle.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2017-01-11 10:24:22 +0000
committerCarl Hetherington <cth@carlh.net>2017-01-11 10:24:22 +0000
commit3d236df4bbe1e7e8a8c8c4c467c9b9178ace00f1 (patch)
treefe158d7e4323010c3659d94e3f56363e07999be2 /src/raw_subtitle.h
parentbecc88e69211c07b1fdcd6572084d43728116ee2 (diff)
Forward-port STL binary writer from master, pulling in horizontal position stuff.
Diffstat (limited to 'src/raw_subtitle.h')
-rw-r--r--src/raw_subtitle.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/raw_subtitle.h b/src/raw_subtitle.h
index 2a202c1..965ca93 100644
--- a/src/raw_subtitle.h
+++ b/src/raw_subtitle.h
@@ -26,6 +26,7 @@
#include "effect.h"
#include "font_size.h"
#include "vertical_position.h"
+#include "horizontal_position.h"
#include <boost/optional.hpp>
#include <string>
#include <list>
@@ -60,6 +61,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;