summaryrefslogtreecommitdiff
path: root/src/subtitle_string.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2015-06-03 16:11:17 +0100
committerCarl Hetherington <cth@carlh.net>2015-06-03 16:11:17 +0100
commit47b52fb54f302d5faf93a19ae2fe28fa610f96ca (patch)
tree93b31b308984ab7b1ee331641f1e60729c64c9a4 /src/subtitle_string.h
parent1c17602bfc56abbf17c1e974f99477655627725b (diff)
Add accessor.
Diffstat (limited to 'src/subtitle_string.h')
-rw-r--r--src/subtitle_string.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/subtitle_string.h b/src/subtitle_string.h
index ba975778..cf787e64 100644
--- a/src/subtitle_string.h
+++ b/src/subtitle_string.h
@@ -131,6 +131,10 @@ public:
_size = s;
}
+ void set_aspect_adjust (float a) {
+ _aspect_adjust = a;
+ }
+
private:
/** font ID */
boost::optional<std::string> _font;