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;
};