summaryrefslogtreecommitdiff
path: root/src/lib/player_text.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/player_text.h')
-rw-r--r--src/lib/player_text.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/lib/player_text.h b/src/lib/player_text.h
index 232ba6516..cd4be984c 100644
--- a/src/lib/player_text.h
+++ b/src/lib/player_text.h
@@ -1,5 +1,5 @@
/*
- Copyright (C) 2014-2018 Carl Hetherington <cth@carlh.net>
+ Copyright (C) 2014-2021 Carl Hetherington <cth@carlh.net>
This file is part of DCP-o-matic.
@@ -18,22 +18,26 @@
*/
+
#ifndef DCPOMATIC_PLAYER_CAPTION_H
#define DCPOMATIC_PLAYER_CAPTION_H
+
#include "bitmap_text.h"
#include "dcpomatic_time.h"
#include "string_text.h"
+
namespace dcpomatic {
class Font;
}
+
/** A set of text (subtitle/CCAP) which span the same time period */
class PlayerText
{
public:
- void add_fonts (std::list<std::shared_ptr<dcpomatic::Font> > fonts_);
+ void add_fonts (std::list<std::shared_ptr<dcpomatic::Font>> fonts_);
std::list<std::shared_ptr<dcpomatic::Font> > fonts;
/** BitmapTexts, with their rectangles transformed as specified by their content */
@@ -41,4 +45,5 @@ public:
std::list<StringText> string;
};
+
#endif