summaryrefslogtreecommitdiff
path: root/src/wx/film_viewer.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/wx/film_viewer.h')
-rw-r--r--src/wx/film_viewer.h8
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;