diff options
| author | Carl Hetherington <cth@carlh.net> | 2025-09-30 22:13:16 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2025-10-10 21:15:37 +0200 |
| commit | 15ebff851d348eea2a5ae91c6495a787b8d012b2 (patch) | |
| tree | 6de54e8c693754e18d88c08b58d1611861b85437 /src/wx/audio_dialog.h | |
| parent | 474388e8a89f1bb01df04d1e806f726e66e60cb2 (diff) | |
Cleanup: use signals for seeking on audio graph clicks.
Diffstat (limited to 'src/wx/audio_dialog.h')
| -rw-r--r-- | src/wx/audio_dialog.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/wx/audio_dialog.h b/src/wx/audio_dialog.h index 4b55ae344..2085a7220 100644 --- a/src/wx/audio_dialog.h +++ b/src/wx/audio_dialog.h @@ -36,7 +36,6 @@ LIBDCP_ENABLE_WARNINGS class AudioPlot; class CheckBox; -class FilmViewer; class Film; @@ -48,12 +47,14 @@ class Film; class AudioDialog : public wxDialog { public: - AudioDialog(wxWindow* parent, std::shared_ptr<Film> film, FilmViewer& viewer, std::shared_ptr<Content> content = std::shared_ptr<Content>()); + AudioDialog(wxWindow* parent, std::shared_ptr<Film> film, std::shared_ptr<Content> content = std::shared_ptr<Content>()); bool Show (bool show = true) override; void set_cursor (boost::optional<dcpomatic::DCPTime> time, boost::optional<float> db); + boost::signals2::signal<void (dcpomatic::DCPTime)> Seek; + private: void film_change(ChangeType, FilmProperty); void content_change (ChangeType, int); |
