From 588463ca317c588f0dfca046cc52dfe026654527 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sun, 13 Dec 2020 22:18:26 +0100 Subject: Subtitle constructor should not be public. --- src/subtitle.h | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) (limited to 'src') diff --git a/src/subtitle.h b/src/subtitle.h index 6317a741..17e3f92f 100644 --- a/src/subtitle.h +++ b/src/subtitle.h @@ -45,17 +45,6 @@ namespace dcp { class Subtitle { public: - Subtitle ( - Time in, - Time out, - float h_position, - HAlign h_align, - float v_position, - VAlign v_align, - Time fade_up_time, - Time fade_down_time - ); - virtual ~Subtitle () {} /** @return subtitle start time (relative to the start of the reel) */ @@ -125,6 +114,18 @@ public: protected: + + Subtitle ( + Time in, + Time out, + float h_position, + HAlign h_align, + float v_position, + VAlign v_align, + Time fade_up_time, + Time fade_down_time + ); + Time _in; Time _out; /** Horizontal position as a proportion of the screen width from the _h_align -- cgit v1.2.3