X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fplayer_subtitles.h;h=d6c19561e0628e40e8fdaa699dffed3b651dda8d;hb=e0adfd85dd7987ee2b77eea7f6d3c13885729a38;hp=d0a3b4f657366b4e06af0a2c54e7441f471b8d91;hpb=e894cfe3d891135d1b92b62603a464e42bd6ed5c;p=dcpomatic.git diff --git a/src/lib/player_subtitles.h b/src/lib/player_subtitles.h index d0a3b4f65..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 @@ -21,8 +21,11 @@ #define DCPOMATIC_PLAYER_SUBTITLES_H #include "image_subtitle.h" +#include "dcpomatic_time.h" #include +class Font; + class PlayerSubtitles { public: @@ -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