#ifndef DCPOMATIC_PLAYER_SUBTITLES_H
#define DCPOMATIC_PLAYER_SUBTITLES_H
-#include "image_subtitle.h"
+#include "bitmap_text.h"
#include "dcpomatic_time.h"
-#include <dcp/subtitle_string.h>
+#include "subtitle_string.h"
class Font;
+/** A set of subtitles which span the same time period */
class PlayerSubtitles
{
public:
- PlayerSubtitles (DCPTime f, DCPTime t)
- : 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;
+ /** BitmapTexts, with their rectangles transformed as specified by their content */
+ std::list<BitmapText> image;
+ std::list<SubtitleString> text;
};
#endif