summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2020-12-13 22:18:26 +0100
committerCarl Hetherington <cth@carlh.net>2021-01-17 20:13:22 +0100
commit588463ca317c588f0dfca046cc52dfe026654527 (patch)
tree3dd27c525002622289ff548ce9e739767c13f868
parent254fda18939ba1153ea8f45b4a71f687dc28573f (diff)
Subtitle constructor should not be public.
-rw-r--r--src/subtitle.h23
1 files changed, 12 insertions, 11 deletions
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