summaryrefslogtreecommitdiff
path: root/src/lib/render_text.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2023-08-26 14:29:06 +0200
committerCarl Hetherington <cth@carlh.net>2023-08-29 18:28:40 +0200
commitc7f45cd00b94393f6e15428a2ea256995f890412 (patch)
tree92c045700e0e60a2a44aec0daa5210278d11f4d6 /src/lib/render_text.h
parente71e6d33210e4a4c7d7841d0d5d8e906e00bb82f (diff)
Cleanup: use some more vector instead of list.
Diffstat (limited to 'src/lib/render_text.h')
-rw-r--r--src/lib/render_text.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/render_text.h b/src/lib/render_text.h
index 6d20912a2..ff34dc10d 100644
--- a/src/lib/render_text.h
+++ b/src/lib/render_text.h
@@ -32,9 +32,9 @@ namespace dcpomatic {
}
-std::string marked_up (std::list<StringText> subtitles, int target_height, float fade_factor, std::string font_name);
-std::list<PositionImage> render_text (std::list<StringText>, dcp::Size, dcpomatic::DCPTime, int);
-std::list<dcpomatic::Rect<int>> bounding_box(std::list<StringText> subtitles, dcp::Size target, boost::optional<dcp::SubtitleStandard> override_standard = boost::none);
+std::string marked_up(std::vector<StringText> subtitles, int target_height, float fade_factor, std::string font_name);
+std::vector<PositionImage> render_text(std::vector<StringText>, dcp::Size, dcpomatic::DCPTime, int);
+std::vector<dcpomatic::Rect<int>> bounding_box(std::vector<StringText> subtitles, dcp::Size target, boost::optional<dcp::SubtitleStandard> override_standard = boost::none);
class FontMetrics