X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Fstandard_controls.h;h=1b8618763313eedc264694b4eb95acd3eb747718;hb=2a67bb1c783ad96addcdc171c6b4cdf632daf5c1;hp=f79e4a17896443a367b1d9fb37f516ffda855063;hpb=1d796edf59da644e91bd443505fb76e0397a1439;p=dcpomatic.git diff --git a/src/wx/standard_controls.h b/src/wx/standard_controls.h index f79e4a178..1b8618763 100644 --- a/src/wx/standard_controls.h +++ b/src/wx/standard_controls.h @@ -1,5 +1,5 @@ /* - Copyright (C) 2018 Carl Hetherington + Copyright (C) 2018-2021 Carl Hetherington This file is part of DCP-o-matic. @@ -18,24 +18,24 @@ */ + #include "controls.h" + class StandardControls : public Controls { public: - StandardControls (wxWindow* parent, boost::shared_ptr viewer, bool editor_controls); + StandardControls(wxWindow* parent, FilmViewer& viewer, bool editor_controls); -#ifdef DCPOMATIC_PLAYER_STRESS_TEST - void play (); - void stop (); -#endif + void play () override; + void stop () override; private: void check_play_state (); void play_clicked (); - void started (); - void stopped (); - void setup_sensitivity (); + void started () override; + void stopped () override; + void setup_sensitivity () override; wxToggleButton* _play_button; };