diff options
| author | Carl Hetherington <cth@carlh.net> | 2013-07-10 20:29:00 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2013-07-10 20:29:00 +0100 |
| commit | 320a74efb8d9c8aacded2799459a92d5b7235d90 (patch) | |
| tree | 1f547cb3cde20bd025dabddc6209390e22826b6a /src/wx/timeline.h | |
| parent | 623f3c66821d6a99bf0e683a8072b99a168f3a1c (diff) | |
Make subtitles work at least a bit.
Diffstat (limited to 'src/wx/timeline.h')
| -rw-r--r-- | src/wx/timeline.h | 7 |
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; |
