X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Fvideo_waveform_plot.h;h=36ec63d8a55bbe6b9d10052e7ec3630dd84c267e;hb=39fb8198febde1937019db1c300ec363aab5aa56;hp=037ff0cbf42e77069df101402743826e354b3465;hpb=b249700e1da7dd6631a8b4440587f4093a2bdef1;p=dcpomatic.git 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 + Copyright (C) 2015-2021 Carl Hetherington This file is part of DCP-o-matic. @@ -18,12 +18,14 @@ */ + #include "lib/warnings.h" DCPOMATIC_DISABLE_WARNINGS #include DCPOMATIC_ENABLE_WARNINGS #include + 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 _film; std::shared_ptr _image; std::shared_ptr _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;