From cffb823099b5b5b7cd14b02814702f14014269ea Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sat, 20 Aug 2016 01:25:16 +0100 Subject: Add set_text() to SubtitleString. --- src/subtitle_string.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src') diff --git a/src/subtitle_string.h b/src/subtitle_string.h index 51b37564..6713584a 100644 --- a/src/subtitle_string.h +++ b/src/subtitle_string.h @@ -187,6 +187,10 @@ public: _aspect_adjust = a; } + void set_text (std::string t) { + _text = t; + } + private: /** font ID */ boost::optional _font; -- cgit v1.2.3