summaryrefslogtreecommitdiff
path: root/src/text.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/text.cc')
-rw-r--r--src/text.cc8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/text.cc b/src/text.cc
index 5d2a2d1b..c70e4333 100644
--- a/src/text.cc
+++ b/src/text.cc
@@ -17,6 +17,10 @@
*/
+/** @file src/text.cc
+ * @brief Text class for parsing subtitle XML.
+ */
+
#include "text.h"
#include "xml.h"
#include "font.h"
@@ -27,6 +31,10 @@ using boost::shared_ptr;
using boost::optional;
using namespace dcp;
+/** Read a <Text> node from a subtitle XML file, noting its contents
+ * in this object's member variables.
+ * @param node Node to read.
+ */
Text::Text (shared_ptr<const cxml::Node> node)
: v_align (CENTER)
{