From 39fb8198febde1937019db1c300ec363aab5aa56 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Thu, 29 Apr 2021 09:14:20 +0200 Subject: C++11 tidying. --- src/wx/video_waveform_plot.h | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'src/wx/video_waveform_plot.h') 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; -- cgit v1.2.3