diff options
| author | Carl Hetherington <cth@carlh.net> | 2016-08-16 08:41:25 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2016-08-16 16:56:32 +0100 |
| commit | 94b3924ed3cbf4fbfa2445ca1007f25c53dc8b60 (patch) | |
| tree | 40abbdf14043edf4d6592b82acf3eccb960ea71f /src/lib/render_subtitles.h | |
| parent | 03c5a8155043613c01e0e151735a7fcf8ab84415 (diff) | |
Basic support for fading subtitles in and out (#923).
Diffstat (limited to 'src/lib/render_subtitles.h')
| -rw-r--r-- | src/lib/render_subtitles.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/lib/render_subtitles.h b/src/lib/render_subtitles.h index 281efe97a..79194568a 100644 --- a/src/lib/render_subtitles.h +++ b/src/lib/render_subtitles.h @@ -19,10 +19,13 @@ */ #include "position_image.h" +#include "dcpomatic_time.h" #include <dcp/subtitle_string.h> #include <dcp/util.h> class Font; std::string marked_up (std::list<dcp::SubtitleString> subtitles); -std::list<PositionImage> render_subtitles (std::list<dcp::SubtitleString>, std::list<boost::shared_ptr<Font> > fonts, dcp::Size); +std::list<PositionImage> render_subtitles ( + std::list<dcp::SubtitleString>, std::list<boost::shared_ptr<Font> > fonts, dcp::Size, DCPTime + ); |
