summaryrefslogtreecommitdiff
path: root/src/wx/video_waveform_dialog.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2018-09-11 01:25:16 +0100
committerCarl Hetherington <cth@carlh.net>2018-09-11 11:58:15 +0100
commitc370a1f38215f6461cf4366e6885757e7aa2b96a (patch)
tree6d660895988652297260c2434115b903032bc60d /src/wx/video_waveform_dialog.h
parent23b60bec13fa8f0b88c34922a169aa0084d99476 (diff)
Separate out management of controls.
Diffstat (limited to 'src/wx/video_waveform_dialog.h')
-rw-r--r--src/wx/video_waveform_dialog.h6
1 files changed, 3 insertions, 3 deletions
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 <boost/weak_ptr.hpp>
class VideoWaveformPlot;
-class ControlFilmViewer;
+class FilmViewer;
class Film;
class VideoWaveformDialog : public wxDialog
{
public:
- VideoWaveformDialog (wxWindow* parent, boost::weak_ptr<const Film> film, ControlFilmViewer* viewer);
+ VideoWaveformDialog (wxWindow* parent, boost::weak_ptr<const Film> film, boost::weak_ptr<FilmViewer> 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<FilmViewer> _viewer;
VideoWaveformPlot* _plot;
wxChoice* _component;
wxSlider* _contrast;