Move y_pos to TimelineView.
[dcpomatic.git] / src / wx / timeline_content_view.cc
index 633110c18f9e0d55accdf2fde9770a8ab745e242..5d039d0d3f0a2e82d252da234f63519b8eb4864e 100644 (file)
@@ -171,13 +171,6 @@ TimelineContentView::do_paint (wxGraphicsContext* gc, list<dcpomatic::Rect<int>>
 }
 
 
-int
-TimelineContentView::y_pos (int t) const
-{
-       return t * _timeline.pixels_per_track() + _timeline.tracks_y_offset();
-}
-
-
 void
 TimelineContentView::content_change (ChangeType type, int p)
 {