Colour in 'masking' in GL mode.
[dcpomatic.git] / src / wx / gl_video_view.h
index cdc9fd530ae3045157cdcf003d19421355df145d..42a3f89ba8236ae6b88407c876fd9b53a094d310 100644 (file)
 class GLVideoView : public VideoView
 {
 public:
-       GLVideoView (wxWindow* parent);
+       GLVideoView (FilmViewer* viewer, wxWindow* parent);
        ~GLVideoView ();
 
        void set_image (boost::shared_ptr<const Image> image);
        wxWindow* get () const {
                return _canvas;
        }
+       void update ();
 
 private:
-        void paint (wxPaintEvent& event);
+        void paint ();
+        void draw ();
 
        wxGLCanvas* _canvas;
         wxGLContext* _context;