diff options
| author | Carl Hetherington <cth@carlh.net> | 2016-08-20 01:25:16 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2016-08-20 01:25:16 +0100 |
| commit | cffb823099b5b5b7cd14b02814702f14014269ea (patch) | |
| tree | f22cc75bd26f6c94abc243238e0452bf7303fdaa /src/subtitle_string.h | |
| parent | 34f2b95c1638a2cfedf21de5a203d6c0b77abf11 (diff) | |
Add set_text() to SubtitleString.
Diffstat (limited to 'src/subtitle_string.h')
| -rw-r--r-- | src/subtitle_string.h | 4 |
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; |
