Plot video and subtitle on one track and audio on the rest in the timeline.
[dcpomatic.git] / src / wx / timeline_view.h
index 55fd64d51bfc453dc61545203a8439914347c6a4..01f1ca23d2c44bbe63e0b2ef5ba5677a446bc22b 100644 (file)
@@ -36,13 +36,13 @@ public:
        TimelineView (Timeline& t);
        virtual ~TimelineView () {}
 
-       void paint (wxGraphicsContext* g);
+       void paint (wxGraphicsContext* g, std::list<dcpomatic::Rect<int> > overlaps);
        void force_redraw ();
 
        virtual dcpomatic::Rect<int> bbox () const = 0;
 
 protected:
-       virtual void do_paint (wxGraphicsContext *) = 0;
+       virtual void do_paint (wxGraphicsContext *, std::list<dcpomatic::Rect<int> > overlaps) = 0;
 
        int time_x (DCPTime t) const;