Don't expand all cinemas on opening KDM dialogs (#779).
[dcpomatic.git] / src / wx / film_viewer.h
index f6ab1a567efed8e56be5c685aac38f61c88adc7b..6abd3387f6e0ecc3742abe142a9a2f33774b57c1 100644 (file)
@@ -44,6 +44,13 @@ public:
                return _position;
        }
 
+       void set_position (DCPTime p);
+       void set_coalesce_player_changes (bool c);
+
+       void refresh ();
+
+       boost::signals2::signal<void (boost::weak_ptr<PlayerVideo>)> ImageChanged;
+
 private:
        void paint_panel ();
        void panel_sized (wxSizeEvent &);
@@ -52,7 +59,7 @@ private:
        void timer ();
        void calculate_sizes ();
        void check_play_state ();
-       void active_jobs_changed (bool);
+       void active_jobs_changed (boost::optional<std::string>);
        void back_clicked ();
        void forward_clicked ();
        void player_changed (bool);
@@ -76,6 +83,8 @@ private:
        wxStaticText* _timecode;
        wxToggleButton* _play_button;
        wxTimer _timer;
+       bool _coalesce_player_changes;
+       bool _pending_player_change;
 
        boost::shared_ptr<const Image> _frame;
        DCPTime _position;