X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Fstandard_controls.h;h=1b8618763313eedc264694b4eb95acd3eb747718;hb=a3c1ae7c2e46b65347341896b3d1a505ff92632b;hp=eac47726b2660436eeb660c9d27b6a30e9b7ec3f;hpb=dd9be86db6cde0afa5da0d1d1ac43b42e05dca26;p=dcpomatic.git diff --git a/src/wx/standard_controls.h b/src/wx/standard_controls.h index eac47726b..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,22 +18,24 @@ */ + #include "controls.h" + class StandardControls : public Controls { public: - StandardControls (wxWindow* parent, std::shared_ptr viewer, bool editor_controls); + StandardControls(wxWindow* parent, FilmViewer& viewer, bool editor_controls); - void play (); - void stop (); + 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; };