C++11 tidying.
[dcpomatic.git] / src / wx / timeline_labels_view.h
index 90293768c4364fcf2fc4565e493ef360e3ff1c5b..fb80b1bf3311ec9533fdd6e280620750516c188d 100644 (file)
@@ -1,5 +1,5 @@
 /*
-    Copyright (C) 2016 Carl Hetherington <cth@carlh.net>
+    Copyright (C) 2016-2021 Carl Hetherington <cth@carlh.net>
 
     This file is part of DCP-o-matic.
 
 
 */
 
+
 #include "timeline_view.h"
 
+
 class wxWindow;
 
+
 class TimelineLabelsView : public TimelineView
 {
 public:
        explicit TimelineLabelsView (Timeline& tl);
 
-       dcpomatic::Rect<int> bbox () const;
+       dcpomatic::Rect<int> bbox () const override;
 
-       void set_3d (bool s);
-       void set_subtitle_tracks (int n);
+       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 do_paint (wxGraphicsContext* gc, std::list<dcpomatic::Rect<int>> overlaps) override;
 
-       int _width;
-       bool _threed;
-       int _subtitle_tracks;
-       bool _atmos;
+       int _width = 0;
+       int _video_tracks = 0;
+       int _audio_tracks = 0;
+       int _text_tracks = 0;
+       bool _atmos = true;
 };