diff options
| author | Carl Hetherington <cth@carlh.net> | 2016-02-25 17:06:44 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2016-02-25 17:06:44 +0000 |
| commit | d2e8a683eed6fb82d4d255fffaf571ff27057132 (patch) | |
| tree | bea3ed6db13ab6d5a72673aa2c30a55d9e188f03 /src/wx/timeline_content_view.h | |
| parent | 03356464b29ff84f72d252efb22502754f55cfce (diff) | |
Plot video and subtitle on one track and audio on the rest in the timeline.
Diffstat (limited to 'src/wx/timeline_content_view.h')
| -rw-r--r-- | src/wx/timeline_content_view.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/wx/timeline_content_view.h b/src/wx/timeline_content_view.h index 07bfb2575..b1b8ecd5d 100644 --- a/src/wx/timeline_content_view.h +++ b/src/wx/timeline_content_view.h @@ -1,5 +1,5 @@ /* - Copyright (C) 2013-2015 Carl Hetherington <cth@carlh.net> + Copyright (C) 2013-2016 Carl Hetherington <cth@carlh.net> This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -43,12 +43,13 @@ public: void unset_track (); boost::optional<int> track () const; + virtual bool active () const = 0; virtual wxColour background_colour () const = 0; virtual wxColour foreground_colour () const = 0; private: - void do_paint (wxGraphicsContext* gc); + void do_paint (wxGraphicsContext* gc, std::list<dcpomatic::Rect<int> > overlaps); int y_pos (int t) const; void content_changed (int p); |
