projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Allow multiple video tracks to be visible in the timeline.
[dcpomatic.git]
/
src
/
wx
/
timeline_labels_view.h
diff --git
a/src/wx/timeline_labels_view.h
b/src/wx/timeline_labels_view.h
index 3b71533440f383f3fb71b782ea4648ff2da74e38..88094f2c4068cd64cc4110eb165dc80d24a582ac 100644
(file)
--- a/
src/wx/timeline_labels_view.h
+++ b/
src/wx/timeline_labels_view.h
@@
-1,5
+1,5
@@
/*
/*
- Copyright (C) 2016 Carl Hetherington <cth@carlh.net>
+ Copyright (C) 2016
-2018
Carl Hetherington <cth@carlh.net>
This file is part of DCP-o-matic.
This file is part of DCP-o-matic.
@@
-25,19
+25,21
@@
class wxWindow;
class TimelineLabelsView : public TimelineView
{
public:
class TimelineLabelsView : public TimelineView
{
public:
- TimelineLabelsView (Timeline& tl);
+
explicit
TimelineLabelsView (Timeline& tl);
dcpomatic::Rect<int> bbox () const;
dcpomatic::Rect<int> bbox () const;
- void set_3d (bool s);
- void set_subtitle (bool s);
+ void set_video_tracks (int n);
+ void set_audio_tracks (int n);
+ void set_text_tracks (int n);
void set_atmos (bool s);
private:
void do_paint (wxGraphicsContext* gc, std::list<dcpomatic::Rect<int> > overlaps);
void set_atmos (bool s);
private:
void do_paint (wxGraphicsContext* gc, std::list<dcpomatic::Rect<int> > overlaps);
- int _width;
- bool _threed;
- bool _subtitle;
- bool _atmos;
+ int _width = 0;
+ int _video_tracks = 0;
+ int _audio_tracks = 0;
+ int _text_tracks = 0;
+ bool _atmos = true;
};
};