diff options
| author | Carl Hetherington <cth@carlh.net> | 2018-07-21 15:16:18 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2018-07-21 15:16:18 +0100 |
| commit | cbd4450197a083bf58bda510e626f73ba583cb66 (patch) | |
| tree | 2be308772512539570beab36beab02bde72d6d4b /src/wx/timeline_text_content_view.h | |
| parent | 1013175d5f6adfa0e6a7442e4c9aebb893787748 (diff) | |
Basics of multiple captions per content so that DCPContent can
hold subs and closed captions.
Diffstat (limited to 'src/wx/timeline_text_content_view.h')
| -rw-r--r-- | src/wx/timeline_text_content_view.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/wx/timeline_text_content_view.h b/src/wx/timeline_text_content_view.h index 540a90607..4f69f2aef 100644 --- a/src/wx/timeline_text_content_view.h +++ b/src/wx/timeline_text_content_view.h @@ -21,6 +21,7 @@ #include "timeline_content_view.h" class TextContent; +class CaptionContent; /** @class TimelineTextContentView * @brief Timeline view for TextContent. @@ -28,10 +29,12 @@ class TextContent; class TimelineTextContentView : public TimelineContentView { public: - TimelineTextContentView (Timeline& tl, boost::shared_ptr<Content> c); + TimelineTextContentView (Timeline& tl, boost::shared_ptr<Content>, boost::shared_ptr<CaptionContent>); private: bool active () const; wxColour background_colour () const; wxColour foreground_colour () const; + + boost::shared_ptr<CaptionContent> _caption; }; |
