diff options
| author | Carl Hetherington <cth@carlh.net> | 2015-01-16 10:35:00 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2015-01-16 10:35:00 +0000 |
| commit | f9c43d87b62653c2d37d4a7b470ca7d4c30b6af0 (patch) | |
| tree | 1cba96c7bd5a80fec7969aae16af3da4adadd54b /tools | |
| parent | 6a90762b8d103d256aa3851e55574154881a4612 (diff) | |
Support horizontal positioning in STL binary reader/writer and DCP reader.
Diffstat (limited to 'tools')
| -rw-r--r-- | tools/dumpsubs.cc | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tools/dumpsubs.cc b/tools/dumpsubs.cc index fef3885..6cd1255 100644 --- a/tools/dumpsubs.cc +++ b/tools/dumpsubs.cc @@ -113,6 +113,18 @@ main (int argc, char* argv[]) } } + switch (j->horizontal_position) { + case LEFT: + cout << "; left aligned"; + break; + case CENTRE: + cout << "; horizontally centered"; + break; + case RIGHT: + cout << "; right-aligned"; + break; + } + cout << "\t"; bool italic = false; bool underline = false; |
