Subtitle constructor should not be public.
authorCarl Hetherington <cth@carlh.net>
Sun, 13 Dec 2020 21:18:26 +0000 (22:18 +0100)
committerCarl Hetherington <cth@carlh.net>
Sun, 17 Jan 2021 19:13:22 +0000 (20:13 +0100)
src/subtitle.h

index 6317a741a229c2025e1e4835f111dc0afb48367e..17e3f92f0383731a4898a5b475b3c1ede72b80e6 100644 (file)
@@ -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