summaryrefslogtreecommitdiff
path: root/src/wx/timeline_content_view.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/wx/timeline_content_view.h')
-rw-r--r--src/wx/timeline_content_view.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/wx/timeline_content_view.h b/src/wx/timeline_content_view.h
index b1b8ecd5d..046f0fecf 100644
--- a/src/wx/timeline_content_view.h
+++ b/src/wx/timeline_content_view.h
@@ -47,13 +47,16 @@ public:
virtual wxColour background_colour () const = 0;
virtual wxColour foreground_colour () const = 0;
+protected:
+
+ boost::weak_ptr<Content> _content;
+
private:
void do_paint (wxGraphicsContext* gc, std::list<dcpomatic::Rect<int> > overlaps);
int y_pos (int t) const;
void content_changed (int p);
- boost::weak_ptr<Content> _content;
boost::optional<int> _track;
bool _selected;