ID churn.
[libdcp.git] / src / text_node.h
index 2e1b9ac4b145931f8e96866093530b7e3f8e1155..753d1a0188611f4e0a6c176463190d87054d8e3f 100644 (file)
@@ -42,14 +42,20 @@ class TextNode
 public:
        /** Construct a default text node */
        TextNode ()
-               : v_position (0)
-               , v_align (TOP)
+               : h_position (0)
+               , h_align (HALIGN_LEFT)
+               , v_position (0)
+               , v_align (VALIGN_TOP)
+               , direction (DIRECTION_LTR)
        {}
-       
-       TextNode (boost::shared_ptr<const cxml::Node> node, int tcr);
 
+       TextNode (boost::shared_ptr<const cxml::Node> node, int tcr, std::string font_id_attribute);
+
+       float h_position;
+       HAlign h_align;
        float v_position;
        VAlign v_align;
+       Direction direction;
        std::string text;
        std::list<boost::shared_ptr<FontNode> > font_nodes;
 };