GLVideoView (FilmViewer* viewer, wxWindow* parent);
~GLVideoView ();
- void set_image (boost::shared_ptr<const Image> image);
wxWindow* get () const {
return _canvas;
}
}
private:
+ void set_image (boost::shared_ptr<const Image> image);
void set_image_and_draw ();
void draw (Position<int> inter_position, dcp::Size inter_size);
void thread ();
public:
SimpleVideoView (FilmViewer* viewer, wxWindow* parent);
- void set_image (boost::shared_ptr<const Image> image) {
- _image = image;
- }
-
wxWindow* get () const {
return _panel;
}
bool display_next_frame (bool non_blocking);
private:
+ void set_image (boost::shared_ptr<const Image> image) {
+ _image = image;
+ }
+
void refresh_panel ();
void paint ();
void timer ();