X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Fstandard_controls.h;h=1b8618763313eedc264694b4eb95acd3eb747718;hb=2a788386131d7f813dd71e506050b2de956ba567;hp=b485c48cc744e6439c8c82aa8f9cf79998337e45;hpb=6349c88c4fb9d4ac76ef14b277d455e3a2b006a6;p=dcpomatic.git diff --git a/src/wx/standard_controls.h b/src/wx/standard_controls.h index b485c48cc..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,19 +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); + + 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; };