X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2Fwx%2Ffilm_viewer.h;h=6e995813c5c0215751ec2ba52f31df6701330903;hb=c622a06189181a3a6ad356094c9a3cf4e1f5a722;hp=f7c31468b75e8985c23453654b92189cb625f7d6;hpb=3d435ad1455306fc4db9d03154e3e2dcd4ed08b8;p=dcpomatic.git diff --git a/src/wx/film_viewer.h b/src/wx/film_viewer.h index f7c31468b..6e995813c 100644 --- a/src/wx/film_viewer.h +++ b/src/wx/film_viewer.h @@ -28,8 +28,11 @@ #include "lib/player_text.h" #include "lib/timer.h" #include "lib/signaller.h" +#include "lib/warnings.h" #include +DCPOMATIC_DISABLE_WARNINGS #include +DCPOMATIC_ENABLE_WARNINGS class wxToggleButton; class FFmpegPlayer; @@ -87,6 +90,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); @@ -123,6 +127,9 @@ public: bool outline_content () const { return _outline_content; } + boost::optional > outline_subtitles () const { + return _outline_subtitles; + } bool pad_black () const { return _pad_black; } @@ -191,6 +198,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. */