Add set_text() to SubtitleString.
authorCarl Hetherington <cth@carlh.net>
Sat, 20 Aug 2016 00:25:16 +0000 (01:25 +0100)
committerCarl Hetherington <cth@carlh.net>
Sat, 20 Aug 2016 00:25:16 +0000 (01:25 +0100)
src/subtitle_string.h

index 51b3756439db695fa297046de16b75d6559b9c0f..6713584a118f5aca4761b35e088b254eb7eb3d93 100644 (file)
@@ -187,6 +187,10 @@ public:
                _aspect_adjust = a;
        }
 
+       void set_text (std::string t) {
+               _text = t;
+       }
+
 private:
        /** font ID */
        boost::optional<std::string> _font;