Add delete-key shortcut to remove content.
[dcpomatic.git] / src / wx / timeline.h
index 2afd0d1945e7fb167510572d21f2e613bbbce117..e8ae2120f7ad392f4def9eda9b6fb759df9f1484 100644 (file)
@@ -31,6 +31,7 @@ class Film;
 class ContentPanel;
 class TimelineView;
 class TimelineTimeAxisView;
+class TimelineReelsView;
 
 class Timeline : public wxPanel
 {
@@ -73,6 +74,8 @@ public:
                return _snap;
        }
 
+       void set_selection (ContentList selection);
+
 private:
        void paint ();
        void left_down (wxMouseEvent &);
@@ -96,6 +99,7 @@ private:
        boost::weak_ptr<Film> _film;
        TimelineViewList _views;
        boost::shared_ptr<TimelineTimeAxisView> _time_axis_view;
+       boost::shared_ptr<TimelineReelsView> _reels_view;
        int _tracks;
        boost::optional<double> _pixels_per_second;
        bool _left_down;