Rename TimelineView -> ContentTimelineView.
[dcpomatic.git] / src / wx / timeline_time_axis_view.h
index 5eecb8232a5e0eadd512a311abe568fb8f13b843..f89121776dcb774fa853cf358e9ec44313d0df60 100644 (file)
 
 */
 
-#include "timeline_view.h"
 
-class TimelineTimeAxisView : public TimelineView
+#include "content_timeline_view.h"
+
+
+class TimelineTimeAxisView : public ContentTimelineView
 {
 public:
-       TimelineTimeAxisView (Timeline& tl, int y);
+       TimelineTimeAxisView(ContentTimeline& tl, int y);
 
-       dcpomatic::Rect<int> bbox () const;
+       dcpomatic::Rect<int> bbox () const override;
        void set_y (int y);
 
 private:
-       void do_paint (wxGraphicsContext* gc, std::list<dcpomatic::Rect<int> > overlaps);
+       void do_paint (wxGraphicsContext* gc, std::list<dcpomatic::Rect<int>> overlaps) override;
 
-       int _y;
+       int _y; ///< y position in tracks (not pixels)
 };
-