projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove GL context accessor and hence lock.
[dcpomatic.git]
/
src
/
wx
/
simple_video_view.h
diff --git
a/src/wx/simple_video_view.h
b/src/wx/simple_video_view.h
index 8b3ec9f0bda91233857c978b25116c99baf46d20..e8bb932e44ad3933c769c770ecaea3413b60436f 100644
(file)
--- a/
src/wx/simple_video_view.h
+++ b/
src/wx/simple_video_view.h
@@
-36,10
+36,16
@@
public:
return _panel;
}
return _panel;
}
+ void update ();
+ void start ();
+ bool display_next_frame (bool non_blocking);
+
private:
void paint ();
private:
void paint ();
+ void timer ();
+ void display_player_video ();
- FilmViewer* _viewer;
wxPanel* _panel;
boost::shared_ptr<const Image> _image;
wxPanel* _panel;
boost::shared_ptr<const Image> _image;
+ wxTimer _timer;
};
};