diff options
| author | Carl Hetherington <cth@carlh.net> | 2017-07-28 16:23:21 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2017-07-28 16:23:21 +0100 |
| commit | 0c7a195358580f65c9fcfd5342e01a70544c1405 (patch) | |
| tree | bf6dd4e6c984a34723a0cf68ddbe8eb676923dc8 /src/horizontal_position.h | |
| parent | 6610a686b63c2c65f5f33cdaac5d03fb8874bedf (diff) | |
Support \pos in ssa.
Diffstat (limited to 'src/horizontal_position.h')
| -rw-r--r-- | src/horizontal_position.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/horizontal_position.h b/src/horizontal_position.h index 1f4b161..76d09e6 100644 --- a/src/horizontal_position.h +++ b/src/horizontal_position.h @@ -27,7 +27,14 @@ namespace sub { class HorizontalPosition { public: + HorizontalPosition () + : reference(HORIZONTAL_CENTRE_OF_SCREEN) + , proportional(0) + {} + HorizontalReference reference; + /** proportion of screen width offset from reference */ + float proportional; bool operator== (HorizontalPosition const & other) const; }; |
