diff options
| author | Carl Hetherington <cth@carlh.net> | 2016-04-12 01:37:00 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2016-04-12 01:37:00 +0100 |
| commit | 4b8c626b7e66ab1d4d69606e10316542c8873842 (patch) | |
| tree | 94140f93b3911196ab60866fefb5c9f807a7a2ab /src/text_node.h | |
| parent | 4b8eee1359d817937b84df7e88126fa16040e5c9 (diff) | |
Add direction support for SMPTE subtitles; fix pragma warnings with non-openmp builds.
Diffstat (limited to 'src/text_node.h')
| -rw-r--r-- | src/text_node.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/text_node.h b/src/text_node.h index f10d7c4b..753d1a01 100644 --- a/src/text_node.h +++ b/src/text_node.h @@ -46,6 +46,7 @@ public: , h_align (HALIGN_LEFT) , v_position (0) , v_align (VALIGN_TOP) + , direction (DIRECTION_LTR) {} TextNode (boost::shared_ptr<const cxml::Node> node, int tcr, std::string font_id_attribute); @@ -54,6 +55,7 @@ public: HAlign h_align; float v_position; VAlign v_align; + Direction direction; std::string text; std::list<boost::shared_ptr<FontNode> > font_nodes; }; |
