class ContentText
{
public:
- explicit ContentText (ContentTime f, TextType t)
+ explicit ContentText (dcpomatic::ContentTime f)
: _from (f)
- , _type (t)
{}
- ContentTime from () const {
+ dcpomatic::ContentTime from () const {
return _from;
}
- TextType type () const {
- return _type;
- }
-
private:
- ContentTime _from;
- TextType _type;
+ dcpomatic::ContentTime _from;
};
class ContentBitmapText : public ContentText
{
public:
- ContentBitmapText (ContentTime f, TextType type, boost::shared_ptr<Image> im, dcpomatic::Rect<double> r)
- : ContentText (f, type)
+ ContentBitmapText (dcpomatic::ContentTime f, boost::shared_ptr<Image> im, dcpomatic::Rect<double> r)
+ : ContentText (f)
, sub (im, r)
{}
class ContentStringText : public ContentText
{
public:
- ContentStringText (ContentTime f, TextType type, std::list<dcp::SubtitleString> s)
- : ContentText (f, type)
+ ContentStringText (dcpomatic::ContentTime f, std::list<dcp::SubtitleString> s)
+ : ContentText (f)
, subs (s)
{}