X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fplayer_text.h;h=fb1d846d8217d2c4f85af36c7b81270deff45db4;hb=7c730205e50014347bd96ab9735346d0b5922798;hp=93b6cd9706d99a07ca298b10da3e3eb0682d3c92;hpb=ae95d9cab28e414245e15ddeae20e96735594a8b;p=dcpomatic.git diff --git a/src/lib/player_text.h b/src/lib/player_text.h index 93b6cd970..fb1d846d8 100644 --- a/src/lib/player_text.h +++ b/src/lib/player_text.h @@ -18,25 +18,27 @@ */ -#ifndef DCPOMATIC_PLAYER_TEXT_H -#define DCPOMATIC_PLAYER_TEXT_H +#ifndef DCPOMATIC_PLAYER_CAPTION_H +#define DCPOMATIC_PLAYER_CAPTION_H #include "bitmap_text.h" #include "dcpomatic_time.h" -#include "plain_text.h" +#include "string_text.h" -class Font; +namespace dcpomatic { + class Font; +} /** A set of text (subtitle/CCAP) which span the same time period */ class PlayerText { public: - void add_fonts (std::list > fonts_); - std::list > fonts; + void add_fonts (std::list > fonts_); + std::list > fonts; /** BitmapTexts, with their rectangles transformed as specified by their content */ - std::list image; - std::list text; + std::list<BitmapText> bitmap; + std::list<StringText> string; }; #endif