diff options
| author | Carl Hetherington <cth@carlh.net> | 2021-04-29 09:14:20 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2021-04-29 20:53:49 +0200 |
| commit | 39fb8198febde1937019db1c300ec363aab5aa56 (patch) | |
| tree | 52bc32134e8ae2b5587b3a62130baa9acf815b60 /src/wx/video_waveform_plot.h | |
| parent | b249700e1da7dd6631a8b4440587f4093a2bdef1 (diff) | |
C++11 tidying.
Diffstat (limited to 'src/wx/video_waveform_plot.h')
| -rw-r--r-- | src/wx/video_waveform_plot.h | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/src/wx/video_waveform_plot.h b/src/wx/video_waveform_plot.h index 037ff0cbf..36ec63d8a 100644 --- a/src/wx/video_waveform_plot.h +++ b/src/wx/video_waveform_plot.h @@ -1,5 +1,5 @@ /* - Copyright (C) 2015 Carl Hetherington <cth@carlh.net> + Copyright (C) 2015-2021 Carl Hetherington <cth@carlh.net> This file is part of DCP-o-matic. @@ -18,12 +18,14 @@ */ + #include "lib/warnings.h" DCPOMATIC_DISABLE_WARNINGS #include <wx/wx.h> DCPOMATIC_ENABLE_WARNINGS #include <boost/signals2.hpp> + namespace dcp { class OpenJPEGImage; } @@ -33,6 +35,7 @@ class Image; class Film; class FilmViewer; + class VideoWaveformPlot : public wxPanel { public: @@ -59,10 +62,10 @@ private: std::weak_ptr<const Film> _film; std::shared_ptr<dcp::OpenJPEGImage> _image; std::shared_ptr<const Image> _waveform; - bool _dirty; - bool _enabled; - int _component; - int _contrast; + bool _dirty = true; + bool _enabled = false; + int _component = 0; + int _contrast = 0; static int const _vertical_margin; static int const _pixel_values; |
