diff options
| author | Carl Hetherington <cth@carlh.net> | 2021-01-21 17:10:19 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2021-01-21 19:19:49 +0100 |
| commit | e5f89bffcfb92756fe292d5d27ef2dcfd42e2af6 (patch) | |
| tree | 1d1a5291a8fb113924e2eac757de26ad33e6ee10 /src/subtitle_string.cc | |
| parent | 9691fc54fa6a3409520a1a42e6eeb8e6a235f5f6 (diff) | |
Move all ostream operator<< into some test-only stream_operators.{cc,h} files.
Diffstat (limited to 'src/subtitle_string.cc')
| -rw-r--r-- | src/subtitle_string.cc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/subtitle_string.cc b/src/subtitle_string.cc index f5f8c8ac..0f89291e 100644 --- a/src/subtitle_string.cc +++ b/src/subtitle_string.cc @@ -144,11 +144,13 @@ dcp::operator<< (ostream& s, SubtitleString const & sub) s << "underlined, "; } - s << "size " << sub.size() << ", aspect " << sub.aspect_adjust() << ", colour " << sub.colour() + s << "size " << sub.size() << ", aspect " << sub.aspect_adjust() + << ", colour (" << sub.colour().r << ", " << sub.colour().g << ", " << sub.colour().b << ")" << ", vpos " << sub.v_position() << ", valign " << ((int) sub.v_align()) << ", hpos " << sub.h_position() << ", halign " << ((int) sub.h_align()) << ", direction " << ((int) sub.direction()) - << ", effect " << ((int) sub.effect()) << ", effect colour " << sub.effect_colour(); + << ", effect " << ((int) sub.effect()) + << ", effect colour (" << sub.effect_colour().r << ", " << sub.effect_colour().g << ", " << sub.effect_colour().b << ")"; return s; } |
