summaryrefslogtreecommitdiff
path: root/src/parse/subtitle.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2015-01-22 19:59:07 +0000
committerCarl Hetherington <cth@carlh.net>2015-01-22 19:59:07 +0000
commit305c00f13c929478de39123008d93b52ed2ec7ca (patch)
tree782fce23c14185378ede55d0f5393f2024fddaff /src/parse/subtitle.h
parent14e4eac6689b5ffe3542d45ad62708507efcd791 (diff)
parent6986647a7ec79fe1a83da96c50bbf414dda859c5 (diff)
Merge branch 'master' of ssh://main.carlh.net/home/carl/git/libdcp
Diffstat (limited to 'src/parse/subtitle.h')
-rw-r--r--src/parse/subtitle.h3
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;
};