summaryrefslogtreecommitdiff
path: root/src/text_node.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/text_node.h')
-rw-r--r--src/text_node.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/text_node.h b/src/text_node.h
index 2e1b9ac4..7cd73bb9 100644
--- a/src/text_node.h
+++ b/src/text_node.h
@@ -42,12 +42,16 @@ 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)
{}
TextNode (boost::shared_ptr<const cxml::Node> node, int tcr);
+ float h_position;
+ HAlign h_align;
float v_position;
VAlign v_align;
std::string text;