summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2016-08-20 01:25:16 +0100
committerCarl Hetherington <cth@carlh.net>2016-08-20 01:25:16 +0100
commitcffb823099b5b5b7cd14b02814702f14014269ea (patch)
treef22cc75bd26f6c94abc243238e0452bf7303fdaa
parent34f2b95c1638a2cfedf21de5a203d6c0b77abf11 (diff)
Add set_text() to SubtitleString.
-rw-r--r--src/subtitle_string.h4
1 files changed, 4 insertions, 0 deletions
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<std::string> _font;