projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use a ScopeGuard to manage _loading_analysis properly.
[dcpomatic.git]
/
src
/
wx
/
standard_controls.h
diff --git
a/src/wx/standard_controls.h
b/src/wx/standard_controls.h
index b485c48cc744e6439c8c82aa8f9cf79998337e45..1b8618763313eedc264694b4eb95acd3eb747718 100644
(file)
--- a/
src/wx/standard_controls.h
+++ b/
src/wx/standard_controls.h
@@
-1,5
+1,5
@@
/*
/*
- Copyright (C) 2018 Carl Hetherington <cth@carlh.net>
+ Copyright (C) 2018
-2021
Carl Hetherington <cth@carlh.net>
This file is part of DCP-o-matic.
This file is part of DCP-o-matic.
@@
-18,19
+18,24
@@
*/
*/
+
#include "controls.h"
#include "controls.h"
+
class StandardControls : public Controls
{
public:
class StandardControls : public Controls
{
public:
- StandardControls (wxWindow* parent, boost::shared_ptr<FilmViewer> 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 ();
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;
};
wxToggleButton* _play_button;
};