diff options
| author | Carl Hetherington <cth@carlh.net> | 2015-06-03 23:54:36 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2015-06-03 23:54:36 +0100 |
| commit | 81fc3762d30576472e2861ce8acb8e6deacfb463 (patch) | |
| tree | e5df92ce6949bfdf459854b3500548d8ddc51f38 /src | |
| parent | e1f53890da6e4be2555a9e17a52edcc03d53656b (diff) | |
Add set_h_position.
Diffstat (limited to 'src')
| -rw-r--r-- | src/subtitle_string.h | 4 |
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) */ |
