summaryrefslogtreecommitdiff
path: root/src/wx/timeline_view.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2022-11-21 00:24:31 +0100
committerCarl Hetherington <cth@carlh.net>2022-11-21 00:24:31 +0100
commit4d8f96e15edb4807cc9773cc7f9eb6aa56ac2dc8 (patch)
tree7b534e00479877732601b6e7543b70a651557f55 /src/wx/timeline_view.h
parentef25237193100de106eccdb8f40524fa670bda76 (diff)
Move y_pos to TimelineView.
Diffstat (limited to 'src/wx/timeline_view.h')
-rw-r--r--src/wx/timeline_view.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/wx/timeline_view.h b/src/wx/timeline_view.h
index f3aa4d5e6..166a1121a 100644
--- a/src/wx/timeline_view.h
+++ b/src/wx/timeline_view.h
@@ -52,6 +52,7 @@ protected:
virtual void do_paint (wxGraphicsContext *, std::list<dcpomatic::Rect<int>> overlaps) = 0;
int time_x (dcpomatic::DCPTime t) const;
+ int y_pos(int t) const;
Timeline& _timeline;