X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fplayer_subtitles.h;h=d6c19561e0628e40e8fdaa699dffed3b651dda8d;hb=c658aec3ffd5009cbe7fa2540da5a0579e2f2e8c;hp=46994ea3bd4f7924576f23b00c495ce1d23887ac;hpb=39029279954b1f346d3ba28ec12c58211bfa7436;p=dcpomatic.git diff --git a/src/lib/player_subtitles.h b/src/lib/player_subtitles.h index 46994ea3b..d6c19561e 100644 --- a/src/lib/player_subtitles.h +++ b/src/lib/player_subtitles.h @@ -1,5 +1,5 @@ /* - Copyright (C) 2014 Carl Hetherington + Copyright (C) 2014-2015 Carl Hetherington 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 @@ -20,8 +20,11 @@ #ifndef DCPOMATIC_PLAYER_SUBTITLES_H #define DCPOMATIC_PLAYER_SUBTITLES_H -#include #include "image_subtitle.h" +#include "dcpomatic_time.h" +#include + +class Font; class PlayerSubtitles { @@ -30,13 +33,16 @@ public: : from (f) , to (t) {} - + + void add_fonts (std::list > fonts_); + DCPTime from; DCPTime to; + std::list > fonts; /** ImageSubtitles, with their rectangles transformed as specified by their content */ std::list image; - std::list text; + std::list text; }; #endif