diff options
| author | Carl Hetherington <cth@carlh.net> | 2019-02-06 15:27:49 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2019-02-06 15:27:49 +0000 |
| commit | 4dcc035993a3716b63c6d65f24d5d4fbcdc90845 (patch) | |
| tree | 9de7c8206df4578f1a1958dee960c970ec67096b /src/wx/film_viewer.h | |
| parent | 591dc9ed8fc748d5e594b337d03f22d897610eff (diff) | |
swaroop: re-work background image logic.v2.13.113
Diffstat (limited to 'src/wx/film_viewer.h')
| -rw-r--r-- | src/wx/film_viewer.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/wx/film_viewer.h b/src/wx/film_viewer.h index 123172ad2..972a88a5a 100644 --- a/src/wx/film_viewer.h +++ b/src/wx/film_viewer.h @@ -88,6 +88,13 @@ public: int audio_callback (void* out, unsigned int frames); +#ifdef DCPOMATIC_VARIANT_SWAROOP + void set_background_image (bool b) { + _background_image = b; + refresh_panel (); + } +#endif + boost::signals2::signal<void (boost::weak_ptr<PlayerVideo>)> ImageChanged; boost::signals2::signal<void ()> PositionChanged; boost::signals2::signal<void (DCPTime)> Started; @@ -164,6 +171,7 @@ private: bool _in_watermark; int _watermark_x; int _watermark_y; + bool _background_image; #endif boost::signals2::scoped_connection _config_changed_connection; |
