summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
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 bb768397..20cc1fe3 100644
--- a/src/subtitle_string.h
+++ b/src/subtitle_string.h
@@ -130,6 +130,10 @@ public:
return _aspect_adjust;
}
+ void set_h_position (float p) {
+ _h_position = p;
+ }
+
/** @param p New vertical position as a proportion of the screen height
* from the top (between 0 and 1)
*/