Fix GL information fetching.
[dcpomatic.git] / src / wx / timeline_text_content_view.h
index 540a90607ba15ff4f54cf6b3ffef8e7957caecf9..98aea6316accce2b5ff12656db1faf491be94c80 100644 (file)
@@ -20,6 +20,7 @@
 
 #include "timeline_content_view.h"
 
+class TextContent;
 class TextContent;
 
 /** @class TimelineTextContentView
@@ -28,10 +29,12 @@ class TextContent;
 class TimelineTextContentView : public TimelineContentView
 {
 public:
-       TimelineTextContentView (Timeline& tl, boost::shared_ptr<Content> c);
+       TimelineTextContentView (Timeline& tl, std::shared_ptr<Content>, std::shared_ptr<TextContent>);
 
 private:
        bool active () const;
        wxColour background_colour () const;
        wxColour foreground_colour () const;
+
+       std::shared_ptr<TextContent> _caption;
 };