diff options
| author | Carl Hetherington <cth@carlh.net> | 2018-06-01 01:11:32 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2018-07-07 21:22:27 +0100 |
| commit | f98e44934d73ed80a58c1b036586c9570cde3758 (patch) | |
| tree | be102c41eed49feb826b8388333a52e894647012 /src/subtitle_string.cc | |
| parent | cfea0afd5971ee749142616fe7bc0bb70526619e (diff) | |
Move common parts of text/image subtitle out to a base class.
Diffstat (limited to 'src/subtitle_string.cc')
| -rw-r--r-- | src/subtitle_string.cc | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/src/subtitle_string.cc b/src/subtitle_string.cc index 5a22475c..6d1e8cdb 100644 --- a/src/subtitle_string.cc +++ b/src/subtitle_string.cc @@ -62,25 +62,18 @@ SubtitleString::SubtitleString ( Time fade_up_time, Time fade_down_time ) - : _font (font) + : Subtitle (in, out, h_position, h_align, v_position, v_align, fade_up_time, fade_down_time) + , _font (font) , _italic (italic) , _bold (bold) , _underline (underline) , _colour (colour) , _size (size) , _aspect_adjust (aspect_adjust) - , _in (in) - , _out (out) - , _h_position (h_position) - , _h_align (h_align) - , _v_position (v_position) - , _v_align (v_align) , _direction (direction) , _text (text) , _effect (effect) , _effect_colour (effect_colour) - , _fade_up_time (fade_up_time) - , _fade_down_time (fade_down_time) { } |
