diff options
Diffstat (limited to 'src/wx/standard_controls.cc')
| -rw-r--r-- | src/wx/standard_controls.cc | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/wx/standard_controls.cc b/src/wx/standard_controls.cc index 956f82c96..e9a31c86b 100644 --- a/src/wx/standard_controls.cc +++ b/src/wx/standard_controls.cc @@ -74,3 +74,19 @@ StandardControls::setup_sensitivity () bool const active_job = _active_job && *_active_job != "examine_content"; _play_button->Enable (_film && !_film->content().empty() && !active_job); } + +#ifdef DCPOMATIC_PLAYER_STRESS_TEST +void +StandardControls::play () +{ + _play_button->SetValue (true); + play_clicked (); +} + +void +StandardControls::stop () +{ + _play_button->SetValue (false); + play_clicked (); +} +#endif |
