*/
+#include "lib/warnings.h"
+DCPOMATIC_DISABLE_WARNINGS
#include <wx/wx.h>
+DCPOMATIC_ENABLE_WARNINGS
#include <boost/shared_ptr.hpp>
#include <boost/weak_ptr.hpp>
#include <boost/signals2.hpp>
class OpenJPEGImage;
}
-class PlayerVideo;
-class Image;
+namespace dcpomatic {
+ class Image;
+}
+
class Film;
-class ControlFilmViewer;
+class FilmViewer;
+class PlayerVideo;
class VideoWaveformPlot : public wxPanel
{
public:
- VideoWaveformPlot (wxWindow* parent, boost::weak_ptr<const Film> film, ControlFilmViewer* viewer);
+ VideoWaveformPlot (wxWindow* parent, boost::weak_ptr<const Film> film, boost::weak_ptr<FilmViewer> viewer);
void set_enabled (bool e);
void set_component (int c);
boost::weak_ptr<const Film> _film;
boost::shared_ptr<dcp::OpenJPEGImage> _image;
- boost::shared_ptr<const Image> _waveform;
+ boost::shared_ptr<const dcpomatic::Image> _waveform;
bool _dirty;
bool _enabled;
int _component;