diff options
| author | Carl Hetherington <cth@carlh.net> | 2018-09-24 22:53:14 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2018-09-24 22:53:14 +0100 |
| commit | 55921ca13c8d8c4f4810f5c89d4f347977613cfb (patch) | |
| tree | 321ac069609a0a2969bf010c3980074af6d0bed8 /src/wx/controls.h | |
| parent | ab8ef6d729e6a858c8719e463011813f82c9a6ea (diff) | |
Add swaroop-profile start/stop/pause buttons.
Diffstat (limited to 'src/wx/controls.h')
| -rw-r--r-- | src/wx/controls.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/wx/controls.h b/src/wx/controls.h index 8ee5310c7..652e71f16 100644 --- a/src/wx/controls.h +++ b/src/wx/controls.h @@ -52,6 +52,7 @@ public: void show_dcp_directory (bool s); boost::signals2::signal<void (boost::filesystem::path)> DCPDirectorySelected; + boost::signals2::signal<void ()> DCPEjected; private: void update_position_label (); @@ -66,7 +67,9 @@ private: void jump_to_selected_clicked (); void setup_sensitivity (); void timecode_clicked (); +#ifndef DCPOMATIC_PLAYER_SWAROOP void check_play_state (); +#endif void active_jobs_changed (boost::optional<std::string>); DCPTime nudge_amount (wxKeyboardState& ev); void image_changed (boost::weak_ptr<PlayerVideo>); @@ -81,6 +84,10 @@ private: void dcp_directory_changed (); void dcp_directory_selected (); void config_changed (int property); +#ifdef DCPOMATIC_VARIANT_SWAROOP + void pause_clicked (); + void stop_clicked (); +#endif boost::shared_ptr<Film> _film; boost::shared_ptr<FilmViewer> _viewer; @@ -100,7 +107,14 @@ private: wxButton* _forward_button; wxStaticText* _frame_number; wxStaticText* _timecode; +#ifdef DCPOMATIC_VARIANT_SWAROOP + wxButton* _play_button; + wxButton* _pause_button; + wxButton* _stop_button; +#else wxToggleButton* _play_button; +#endif + boost::optional<std::string> _active_job; ClosedCaptionsDialog* _closed_captions_dialog; |
