From 81fc3762d30576472e2861ce8acb8e6deacfb463 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Wed, 3 Jun 2015 23:54:36 +0100 Subject: Add set_h_position. --- src/subtitle_string.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src') 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) */ -- cgit v1.2.3