X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Fvideo_waveform_dialog.h;h=25bd462aee991422e89647215eea69e9fb358b45;hb=2b3fbc42400258ae47ae3a10d3dfd9f0561d1940;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..25bd462ae 100644 --- a/src/wx/video_waveform_dialog.h +++ b/src/wx/video_waveform_dialog.h @@ -18,23 +18,33 @@ */ + +#include "lib/warnings.h" +DCPOMATIC_DISABLE_WARNINGS #include +DCPOMATIC_ENABLE_WARNINGS +#include + class VideoWaveformPlot; class FilmViewer; +class Film; class VideoWaveformDialog : public wxDialog { public: - VideoWaveformDialog (wxWindow* parent, FilmViewer* viewer); + VideoWaveformDialog (wxWindow* parent, std::weak_ptr film, std::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; + std::weak_ptr _viewer; VideoWaveformPlot* _plot; wxChoice* _component; wxSlider* _contrast; + wxStaticText* _x_position; + wxStaticText* _value; };