diff options
| author | Carl Hetherington <cth@carlh.net> | 2021-02-15 00:43:12 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2021-02-15 03:16:16 +0100 |
| commit | 14a9755762cf1d1e33877dec4a02b627dfa400cb (patch) | |
| tree | 0e414426dca1b5799c955ba8eae3cd2c7ab86f05 /src/wx/timeline_labels_view.h | |
| parent | 88c1642d83bed44a75c4fe6827c5f02fc50141c2 (diff) | |
Allow multiple video tracks to be visible in the timeline.
Diffstat (limited to 'src/wx/timeline_labels_view.h')
| -rw-r--r-- | src/wx/timeline_labels_view.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/wx/timeline_labels_view.h b/src/wx/timeline_labels_view.h index f26c9762b..88094f2c4 100644 --- a/src/wx/timeline_labels_view.h +++ b/src/wx/timeline_labels_view.h @@ -29,7 +29,7 @@ public: dcpomatic::Rect<int> bbox () const; - void set_3d (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); @@ -37,9 +37,9 @@ public: private: void do_paint (wxGraphicsContext* gc, std::list<dcpomatic::Rect<int> > overlaps); - int _width; - bool _threed; - int _audio_tracks; - int _text_tracks; - bool _atmos; + int _width = 0; + int _video_tracks = 0; + int _audio_tracks = 0; + int _text_tracks = 0; + bool _atmos = true; }; |
