summaryrefslogtreecommitdiff
path: root/src/lib/text_content.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/text_content.h')
-rw-r--r--src/lib/text_content.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/lib/text_content.h b/src/lib/text_content.h
index 4d4bdc507..58014917b 100644
--- a/src/lib/text_content.h
+++ b/src/lib/text_content.h
@@ -72,7 +72,7 @@ public:
TextContent (Content* parent, std::vector<std::shared_ptr<Content>>);
TextContent (Content* parent, cxml::ConstNodePtr, int version, std::list<std::string>& notes);
- void as_xml (xmlpp::Node *) const;
+ void as_xml(xmlpp::Element*) const;
std::string identifier () const;
void take_settings_from (std::shared_ptr<const TextContent> c);
@@ -224,6 +224,10 @@ private:
double _x_scale;
/** y scale factor to apply to subtitles */
double _y_scale;
+ /** Fonts used by this content. They are added during content examination, then
+ * saved/loaded from metadata.xml. This is so the user can change the font in
+ * used by a piece of content.
+ */
std::list<std::shared_ptr<dcpomatic::Font>> _fonts;
boost::optional<dcp::Colour> _colour;
boost::optional<dcp::Effect> _effect;