Add real-time mouse cursor readout in audio analysis (rest of #1082).
[dcpomatic.git] / src / wx / audio_dialog.h
index 41be90b79ed6d4074b49a0a55bc93bf1d02c8583..6d44285463ba0823081a73b6e53695add2a0c0f0 100644 (file)
@@ -35,6 +35,8 @@ public:
 
        bool Show (bool show = true);
 
+       void set_cursor (boost::optional<DCPTime> time, boost::optional<float> db);
+
 private:
        void content_changed (int);
        void channel_clicked (wxCommandEvent &);
@@ -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;