Support horizontal alignment specification in subtitles.
[libdcp.git] / src / parse / subtitle.h
index 867b3f0e3f6ecfe3498bf212f186410c785f7ecc..3993a6bea1df699bf4d27d92e89da860b5fdfa60 100644 (file)
@@ -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;
 };