diff options
| author | Carl Hetherington <cth@carlh.net> | 2014-10-07 10:13:39 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2014-10-07 10:13:39 +0100 |
| commit | 83358c16fcfdad24e8e415df13d6cf8e9bb43556 (patch) | |
| tree | 784b4961358f9f722200738e9f8ee730c5e9975d | |
| parent | f7b50fd54b249c294e686fc09d8bb33d2a992d42 (diff) | |
Add Subtitle::set_text()
| -rw-r--r-- | src/subtitle_asset.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/subtitle_asset.h b/src/subtitle_asset.h index a7ec641c..3dfbe7e2 100644 --- a/src/subtitle_asset.h +++ b/src/subtitle_asset.h @@ -78,6 +78,10 @@ public: return _text; } + void set_text (std::string t) { + _text = t; + } + float v_position () const { return _v_position; } |
