summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2014-10-07 10:13:39 +0100
committerCarl Hetherington <cth@carlh.net>2014-10-07 10:13:39 +0100
commit83358c16fcfdad24e8e415df13d6cf8e9bb43556 (patch)
tree784b4961358f9f722200738e9f8ee730c5e9975d /src
parentf7b50fd54b249c294e686fc09d8bb33d2a992d42 (diff)
Add Subtitle::set_text()
Diffstat (limited to 'src')
-rw-r--r--src/subtitle_asset.h4
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;
}