Add Subtitle::set_text()
authorCarl Hetherington <cth@carlh.net>
Tue, 7 Oct 2014 09:13:39 +0000 (10:13 +0100)
committerCarl Hetherington <cth@carlh.net>
Tue, 7 Oct 2014 09:13:39 +0000 (10:13 +0100)
src/subtitle_asset.h

index a7ec641c5ba023af44b800ce8ddbcd7d3b4804d2..3dfbe7e2a388cefe31ee5803c7f56e0ad93027e0 100644 (file)
@@ -78,6 +78,10 @@ public:
                return _text;
        }
 
+       void set_text (std::string t) {
+               _text = t;
+       }
+
        float v_position () const {
                return _v_position;
        }