X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Ffilm_viewer.h;h=29985a5816bb701b44ec3e0a5c0e92672b8a4d8c;hb=15a83d720780d58f905d40f8493cdcb86596eaee;hp=60cde60d00139b10fb6a6546995e1eca66b50196;hpb=f77529bdfa01ae13f889442900988fc401b63c62;p=dcpomatic.git diff --git a/src/wx/film_viewer.h b/src/wx/film_viewer.h index 60cde60d0..29985a581 100644 --- a/src/wx/film_viewer.h +++ b/src/wx/film_viewer.h @@ -87,6 +87,7 @@ public: void set_dcp_decode_reduction (boost::optional reduction); boost::optional dcp_decode_reduction () const; void set_outline_content (bool o); + void set_outline_subtitles (boost::optional >); void set_eyes (Eyes e); void set_pad_black (bool p); @@ -96,6 +97,7 @@ public: boost::optional audio_time () const; int dropped () const; + int errored () const; int gets () const; int audio_callback (void* out, unsigned int frames); @@ -122,6 +124,9 @@ public: bool outline_content () const { return _outline_content; } + boost::optional > outline_subtitles () const { + return _outline_subtitles; + } bool pad_black () const { return _pad_black; } @@ -133,6 +138,10 @@ public: } void finished (); + bool pending_idle_get () const { + return _idle_get; + } + boost::signals2::signal)> ImageChanged; boost::signals2::signal Started; boost::signals2::signal Stopped; @@ -186,6 +195,7 @@ private: ClosedCaptionsDialog* _closed_captions_dialog; bool _outline_content; + boost::optional > _outline_subtitles; /** true to pad the viewer panel with black, false to use the normal window background colour. */