X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Fvideo_waveform_dialog.h;h=ac3a72dde524a331b4d427ff58c876df2c6b6a2c;hb=747e81de1927c71b39dc916be05bb9296ca6b882;hp=c853d0cda0945012172abe2fead3bdf8e6c19436;hpb=3828baf56467224f5d44049bf1e7a7ed11f43a05;p=dcpomatic.git diff --git a/src/wx/video_waveform_dialog.h b/src/wx/video_waveform_dialog.h index c853d0cda..ac3a72dde 100644 --- a/src/wx/video_waveform_dialog.h +++ b/src/wx/video_waveform_dialog.h @@ -19,22 +19,27 @@ */ #include +#include class VideoWaveformPlot; class FilmViewer; +class Film; class VideoWaveformDialog : public wxDialog { public: - VideoWaveformDialog (wxWindow* parent, FilmViewer* viewer); + VideoWaveformDialog (wxWindow* parent, boost::weak_ptr film, boost::weak_ptr viewer); private: void shown (wxShowEvent &); void component_changed (); void contrast_changed (); + void mouse_moved (int x1, int x2, int y1, int y2); - FilmViewer* _viewer; + boost::weak_ptr _viewer; VideoWaveformPlot* _plot; wxChoice* _component; wxSlider* _contrast; + wxStaticText* _x_position; + wxStaticText* _value; };