diff options
Diffstat (limited to 'src/wx/timeline_time_axis_view.cc')
| -rw-r--r-- | src/wx/timeline_time_axis_view.cc | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/src/wx/timeline_time_axis_view.cc b/src/wx/timeline_time_axis_view.cc index e9de1b542..3cdcfc2c8 100644 --- a/src/wx/timeline_time_axis_view.cc +++ b/src/wx/timeline_time_axis_view.cc @@ -18,16 +18,18 @@ */ -#include "timeline_time_axis_view.h" #include "timeline.h" +#include "timeline_time_axis_view.h" #include "wx_util.h" -#include <wx/wx.h> #include <wx/graphics.h> +#include <wx/wx.h> + -using std::list; using std::cout; +using std::list; using namespace dcpomatic; + TimelineTimeAxisView::TimelineTimeAxisView (Timeline& tl, int y) : TimelineView (tl) , _y (y) @@ -35,12 +37,14 @@ TimelineTimeAxisView::TimelineTimeAxisView (Timeline& tl, int y) } + dcpomatic::Rect<int> TimelineTimeAxisView::bbox () const { return dcpomatic::Rect<int> (0, _y - 4, _timeline.width(), 24); } + /** @param y y position in tracks (not pixels) */ void TimelineTimeAxisView::set_y (int y) @@ -49,6 +53,7 @@ TimelineTimeAxisView::set_y (int y) force_redraw (); } + void TimelineTimeAxisView::do_paint (wxGraphicsContext* gc, list<dcpomatic::Rect<int> >) { |
