summaryrefslogtreecommitdiff
path: root/src/wx/timeline_content_view.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2016-04-13 16:34:22 +0100
committerCarl Hetherington <cth@carlh.net>2016-05-18 11:50:29 +0100
commit775ae0e37bbec115d742feade0adc614a9a2301c (patch)
tree3f9b7d86c547b2340b09ec4e3b157e88de44ff2e /src/wx/timeline_content_view.h
parent334b94526f2c1271718a94fe97cfa843cf6ef7a1 (diff)
Subtitle rearrangements.
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;