Tidy and fix logging.
[dcpomatic.git] / src / wx / audio_dialog.h
index 37d4256247ee26cf1248aa84bdb25e7c0693cf70..2c077c9d1207718ad5af2b61a79a5d488b63dc8a 100644 (file)
@@ -31,12 +31,14 @@ class Film;
 class AudioDialog : public wxDialog
 {
 public:
-       AudioDialog (wxWindow *, boost::shared_ptr<Film> film, boost::shared_ptr<Content> content = boost::shared_ptr<Content> ());
+       AudioDialog (wxWindow* parent, boost::shared_ptr<Film> film, boost::shared_ptr<Content> content = boost::shared_ptr<Content> ());
 
        bool Show (bool show = true);
 
+       void set_cursor (boost::optional<DCPTime> time, boost::optional<float> db);
+
 private:
-       void content_changed (int);
+       void content_change (ChangeType, int);
        void channel_clicked (wxCommandEvent &);
        void type_clicked (wxCommandEvent &);
        void smoothing_changed ();
@@ -49,6 +51,7 @@ private:
        boost::weak_ptr<Content> _content;
        int _channels;
        boost::shared_ptr<const Playlist> _playlist;
+       wxStaticText* _cursor;
        AudioPlot* _plot;
        wxStaticText* _sample_peak;
        wxStaticText* _true_peak;