summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2014-10-02 00:26:58 +0100
committerCarl Hetherington <cth@carlh.net>2014-10-02 00:26:58 +0100
commit863ff8cced5b7d1d36ad6761fa1f6e2dbeafcad6 (patch)
tree0200ec57d491fff64fb1873f310392a2a3457c3d /src
parent7f54537880570d624100ca2319c8394785ecf06f (diff)
Add set_size to SubtitleString.
Diffstat (limited to 'src')
-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 58710f7f..e849bc60 100644
--- a/src/subtitle_string.h
+++ b/src/subtitle_string.h
@@ -116,6 +116,10 @@ public:
_v_position = p;
}
+ void set_size (int s) {
+ _size = s;
+ }
+
private:
/** font name */
std::string _font;