summaryrefslogtreecommitdiff
path: root/src/subtitle_string.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2015-06-03 23:54:36 +0100
committerCarl Hetherington <cth@carlh.net>2015-06-03 23:54:36 +0100
commit81fc3762d30576472e2861ce8acb8e6deacfb463 (patch)
treee5df92ce6949bfdf459854b3500548d8ddc51f38 /src/subtitle_string.h
parente1f53890da6e4be2555a9e17a52edcc03d53656b (diff)
Add set_h_position.
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 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)
*/