Fix hidden reels view and time axis not moving under zoom.
[dcpomatic.git] / src / wx / timeline.h
index 6df44372b0664ad918b7968a9f931e6631b52532..503025f3ce3e6f0006a237505db422ae9d386a33 100644 (file)
@@ -77,6 +77,8 @@ public:
                _tool = t;
        }
 
+       int tracks_y_offset () const;
+
 private:
        void paint_labels ();
        void paint_main ();
@@ -104,7 +106,7 @@ private:
        ContentList selected_content () const;
        void maybe_snap (DCPTime a, DCPTime b, boost::optional<DCPTime>& nearest_distance) const;
 
-       wxPanel* _labels_panel;
+       wxScrolledCanvas* _labels_canvas;
        wxScrolledCanvas* _main_canvas;
        ContentPanel* _content_panel;
        boost::weak_ptr<Film> _film;