/*
- Copyright (C) 2014 Carl Hetherington <cth@carlh.net>
+ Copyright (C) 2014-2015 Carl Hetherington <cth@carlh.net>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
#ifndef DCPOMATIC_PLAYER_SUBTITLES_H
#define DCPOMATIC_PLAYER_SUBTITLES_H
-#include <dcp/subtitle_string.h>
#include "image_subtitle.h"
+#include "dcpomatic_time.h"
+#include <dcp/subtitle_string.h>
+
+class Font;
class PlayerSubtitles
{
: from (f)
, to (t)
{}
-
+
+ void add_fonts (std::list<boost::shared_ptr<Font> > fonts_);
+
DCPTime from;
DCPTime to;
+ std::list<boost::shared_ptr<Font> > fonts;
/** ImageSubtitles, with their rectangles transformed as specified by their content */
std::list<ImageSubtitle> image;
- std::list<dcp::SubtitleString> text;
+ std::list<dcp::SubtitleString> text;
};
#endif