summaryrefslogtreecommitdiff
path: root/src/wx/timeline_text_content_view.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/wx/timeline_text_content_view.h')
-rw-r--r--src/wx/timeline_text_content_view.h5
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;
};