projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use slightly better icons for macOS prefs in dark mode.
[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 646d93a588dda155f1126e6091bc70289150f8b3..fb80b1bf3311ec9533fdd6e280620750516c188d 100644
(file)
--- a/
src/wx/timeline_labels_view.h
+++ b/
src/wx/timeline_labels_view.h
@@
-1,5
+1,5
@@
/*
/*
- Copyright (C) 2016-20
18
Carl Hetherington <cth@carlh.net>
+ Copyright (C) 2016-20
21
Carl Hetherington <cth@carlh.net>
This file is part of DCP-o-matic.
This file is part of DCP-o-matic.
@@
-18,28
+18,31
@@
*/
*/
+
#include "timeline_view.h"
#include "timeline_view.h"
+
class wxWindow;
class wxWindow;
+
class TimelineLabelsView : public TimelineView
{
public:
explicit TimelineLabelsView (Timeline& tl);
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_
video_tracks (int n
);
void set_audio_tracks (int n);
void set_audio_tracks (int n);
- void set_
caption
_tracks (int n);
+ void set_
text
_tracks (int n);
void set_atmos (bool s);
private:
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 _audio_tracks;
- int _
caption_tracks
;
- bool _atmos;
+ int _width
= 0
;
+
int _video_tracks = 0
;
+ int _audio_tracks
= 0
;
+ int _
text_tracks = 0
;
+ bool _atmos
= true
;
};
};