summaryrefslogtreecommitdiff
path: root/src/wx/timeline.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/wx/timeline.h')
-rw-r--r--src/wx/timeline.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/wx/timeline.h b/src/wx/timeline.h
index 5c25a6426..3e984bfe1 100644
--- a/src/wx/timeline.h
+++ b/src/wx/timeline.h
@@ -22,6 +22,7 @@
#include <boost/signals2.hpp>
#include <wx/wx.h>
#include "util.h"
+#include "rect.h"
class Film;
class View;
@@ -36,7 +37,7 @@ public:
boost::shared_ptr<const Film> film () const;
- void force_redraw (dcpomatic::Rect const &);
+ void force_redraw (dcpomatic::Rect<int> const &);
int x_offset () const {
return 8;
@@ -54,8 +55,8 @@ public:
return _pixels_per_time_unit;
}
- Position tracks_position () const {
- return Position (8, 8);
+ Position<int> tracks_position () const {
+ return Position<int> (8, 8);
}
int tracks () const;