summaryrefslogtreecommitdiff
path: root/src/subtitle_string.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2015-10-04 22:51:43 +0100
committerCarl Hetherington <cth@carlh.net>2015-10-04 22:51:43 +0100
commit3c7d752d380c6ce9febebbe3b3d77d208eae8625 (patch)
treeaccf6ed2a6882c4c581d35703f54d8437d584f07 /src/subtitle_string.h
parentde32e9958d71ed16ebf1e5f8b2a9cf244c62d8c6 (diff)
Add set_{in,out}.
Diffstat (limited to 'src/subtitle_string.h')
-rw-r--r--src/subtitle_string.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/subtitle_string.h b/src/subtitle_string.h
index 2dfdbe0a..2317af5f 100644
--- a/src/subtitle_string.h
+++ b/src/subtitle_string.h
@@ -130,6 +130,14 @@ public:
return _aspect_adjust;
}
+ void set_in (Time i) {
+ _in = i;
+ }
+
+ void set_out (Time o) {
+ _out = o;
+ }
+
void set_h_position (float p) {
_h_position = p;
}