diff options
| author | Carl Hetherington <cth@carlh.net> | 2016-04-13 16:34:22 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2016-05-18 11:50:29 +0100 |
| commit | 775ae0e37bbec115d742feade0adc614a9a2301c (patch) | |
| tree | 3f9b7d86c547b2340b09ec4e3b157e88de44ff2e /src/lib/text_subtitle_content.h | |
| parent | 334b94526f2c1271718a94fe97cfa843cf6ef7a1 (diff) | |
Subtitle rearrangements.
Diffstat (limited to 'src/lib/text_subtitle_content.h')
| -rw-r--r-- | src/lib/text_subtitle_content.h | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/src/lib/text_subtitle_content.h b/src/lib/text_subtitle_content.h index a2ef5d98a..76440ba9b 100644 --- a/src/lib/text_subtitle_content.h +++ b/src/lib/text_subtitle_content.h @@ -21,14 +21,6 @@ class Job; -class TextSubtitleContentProperty -{ -public: - static int const TEXT_SUBTITLE_COLOUR; - static int const TEXT_SUBTITLE_OUTLINE; - static int const TEXT_SUBTITLE_OUTLINE_COLOUR; -}; - /** @class TextSubtitleContent * @brief SubRip or SSA subtitles. */ @@ -42,54 +34,19 @@ public: return boost::dynamic_pointer_cast<TextSubtitleContent> (Content::shared_from_this ()); } - /* Content */ void examine (boost::shared_ptr<Job>); std::string summary () const; std::string technical_summary () const; void as_xml (xmlpp::Node *) const; DCPTime full_length () const; - /* SubtitleContent */ - - bool has_text_subtitles () const { - return true; - } - - bool has_image_subtitles () const { - return false; - } - double subtitle_video_frame_rate () const; void set_subtitle_video_frame_rate (double r); - void set_colour (dcp::Colour); - - dcp::Colour colour () const { - boost::mutex::scoped_lock lm (_mutex); - return _colour; - } - - void set_outline (bool); - - bool outline () const { - boost::mutex::scoped_lock lm (_mutex); - return _outline; - } - - void set_outline_colour (dcp::Colour); - - dcp::Colour outline_colour () const { - boost::mutex::scoped_lock lm (_mutex); - return _outline_colour; - } - static std::string const font_id; private: ContentTime _length; /** Video frame rate that this content has been prepared for, if known */ boost::optional<double> _frame_rate; - dcp::Colour _colour; - bool _outline; - dcp::Colour _outline_colour; }; |
