Rename _texture -> _video_texture.
[dcpomatic.git] / src / wx / video_waveform_dialog.h
index c853d0cda0945012172abe2fead3bdf8e6c19436..25bd462aee991422e89647215eea69e9fb358b45 100644 (file)
 
 */
 
+
+#include "lib/warnings.h"
+DCPOMATIC_DISABLE_WARNINGS
 #include <wx/wx.h>
+DCPOMATIC_ENABLE_WARNINGS
+#include <memory>
+
 
 class VideoWaveformPlot;
 class FilmViewer;
+class Film;
 
 class VideoWaveformDialog : public wxDialog
 {
 public:
-       VideoWaveformDialog (wxWindow* parent, FilmViewer* viewer);
+       VideoWaveformDialog (wxWindow* parent, std::weak_ptr<const Film> film, std::weak_ptr<FilmViewer> 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<FilmViewer> _viewer;
        VideoWaveformPlot* _plot;
        wxChoice* _component;
        wxSlider* _contrast;
+       wxStaticText* _x_position;
+       wxStaticText* _value;
 };