X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Fvideo_waveform_dialog.h;h=ac3a72dde524a331b4d427ff58c876df2c6b6a2c;hb=de2149c04aec596f372988d4e55c94f3fd72204b;hp=1cfbb73b725c31c3044e9a0bfdd262b7dfb49d0a;hpb=23583dfb56181c76126e652042e9d1940367aa27;p=dcpomatic.git diff --git a/src/wx/video_waveform_dialog.h b/src/wx/video_waveform_dialog.h index 1cfbb73b7..ac3a72dde 100644 --- a/src/wx/video_waveform_dialog.h +++ b/src/wx/video_waveform_dialog.h @@ -22,13 +22,13 @@ #include class VideoWaveformPlot; -class ControlFilmViewer; +class FilmViewer; class Film; class VideoWaveformDialog : public wxDialog { public: - VideoWaveformDialog (wxWindow* parent, boost::weak_ptr film, ControlFilmViewer* viewer); + VideoWaveformDialog (wxWindow* parent, boost::weak_ptr film, boost::weak_ptr viewer); private: void shown (wxShowEvent &); @@ -36,7 +36,7 @@ private: void contrast_changed (); void mouse_moved (int x1, int x2, int y1, int y2); - ControlFilmViewer* _viewer; + boost::weak_ptr _viewer; VideoWaveformPlot* _plot; wxChoice* _component; wxSlider* _contrast;