static int const Y_SCALE;
static int const USE;
static int const BURN;
+ static int const NAME;
static int const LANGUAGE;
static int const FONTS;
static int const COLOUR;
void set_y_offset (double);
void set_x_scale (double);
void set_y_scale (double);
+ void set_name (std::string name);
void set_language (std::string language);
void set_colour (dcp::Colour);
void unset_colour ();
return _fonts;
}
+ std::string name () const {
+ boost::mutex::scoped_lock lm (_mutex);
+ return _name;
+ }
+
std::string language () const {
boost::mutex::scoped_lock lm (_mutex);
return _language;
static std::list<boost::shared_ptr<TextContent> > from_xml (Content* parent, cxml::ConstNodePtr, int version);
protected:
+ /** Name (annotation text) for this subtitle */
+ std::string _name;
/** subtitle language (e.g. "German") or empty if it is not known */
std::string _language;