X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Fgl_video_view.h;h=bac195fb18016e5758d07a629bb48b8d71514a90;hb=e9ae050b0b15c91c3f591ad84938e60d271357b3;hp=4a2184f407391b8703d76b1b4fffac6c86809618;hpb=10f36696805235c774890a4618b7187dd75750d4;p=dcpomatic.git diff --git a/src/wx/gl_video_view.h b/src/wx/gl_video_view.h index 4a2184f40..bac195fb1 100644 --- a/src/wx/gl_video_view.h +++ b/src/wx/gl_video_view.h @@ -40,19 +40,23 @@ public: GLVideoView (FilmViewer* viewer, wxWindow* parent); ~GLVideoView (); - wxWindow* get () const { + wxWindow* get () const override { return _canvas; } - void update (); - void start (); - void stop (); + void update () override; + void start () override; + void stop () override; - NextFrameResult display_next_frame (bool); + NextFrameResult display_next_frame (bool) override; bool vsync_enabled () const { return _vsync_enabled; } + std::map information () const { + return _information; + } + private: void set_image (std::shared_ptr image); void set_image_and_draw (); @@ -86,4 +90,6 @@ private: bool _setup_shaders_done = false; std::shared_ptr _timer; + + std::map _information; };