X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Ftimeline_text_content_view.h;h=046f5b3e66ca9d5a288a53369bb81a0e49c28068;hb=e7245abe84a1a09a5f680e426b5dfac2de2e472a;hp=540a90607ba15ff4f54cf6b3ffef8e7957caecf9;hpb=d7ac100c0eb1b5efdcfbec59be870fd869252840;p=dcpomatic.git diff --git a/src/wx/timeline_text_content_view.h b/src/wx/timeline_text_content_view.h index 540a90607..046f5b3e6 100644 --- a/src/wx/timeline_text_content_view.h +++ b/src/wx/timeline_text_content_view.h @@ -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 c); + TimelineTextContentView (Timeline& tl, std::shared_ptr, std::shared_ptr); private: - bool active () const; - wxColour background_colour () const; - wxColour foreground_colour () const; + bool active () const override; + wxColour background_colour () const override; + wxColour foreground_colour () const override; + + std::shared_ptr _caption; };