diff options
| author | Carl Hetherington <cth@carlh.net> | 2018-01-09 20:25:59 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2018-01-09 20:25:59 +0000 |
| commit | a75ee96cc27efcbb3c4ebb26fdf602f013d3a9e8 (patch) | |
| tree | 59db65ed1766d5e9c5987ec4d87ffc80af38fabf | |
| parent | 7d0aab7961d72ab194b1c9f2c6f348a91ed75c35 (diff) | |
Add some setters.
| -rw-r--r-- | src/subtitle_string.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/subtitle_string.h b/src/subtitle_string.h index 6713584a..47e4fed1 100644 --- a/src/subtitle_string.h +++ b/src/subtitle_string.h @@ -191,6 +191,26 @@ public: _text = t; } + void set_colour (dcp::Colour c) { + _colour = c; + } + + void set_effect (Effect e) { + _effect = e; + } + + void set_effect_colour (dcp::Colour c) { + _effect_colour = c; + } + + void set_fade_up_time (dcp::Time t) { + _fade_up_time = t; + } + + void set_fade_down_time (dcp::Time t) { + _fade_down_time = t; + } + private: /** font ID */ boost::optional<std::string> _font; |
