diff options
| author | Carl Hetherington <cth@carlh.net> | 2017-07-28 15:50:26 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2017-07-28 15:50:26 +0100 |
| commit | 9d44328087d41016745ace95e7e989135056149b (patch) | |
| tree | 9b7208d6364a949ded183ff380c54602075a26ca /src/subtitle.h | |
| parent | 084eff7331b1a7c9923282c5860f490648ad633a (diff) | |
Make HorizontalPosition a class containing a reference enum.
Diffstat (limited to 'src/subtitle.h')
| -rw-r--r-- | src/subtitle.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/subtitle.h b/src/subtitle.h index f4295a2..2b6867d 100644 --- a/src/subtitle.h +++ b/src/subtitle.h @@ -78,8 +78,9 @@ class Line { public: Line () - : horizontal_position (CENTRE) - {} + { + horizontal_position.reference = HORIZONTAL_CENTRE_OF_SCREEN; + } /** Construct a Line taking any relevant information from a RawSubtitle */ Line (RawSubtitle s); |
