summaryrefslogtreecommitdiff
path: root/src/wx/audio_dialog.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2013-02-25 20:21:29 +0000
committerCarl Hetherington <cth@carlh.net>2013-02-25 20:21:29 +0000
commit6e0f2a39c9deeb51f05c0c8c9bd46632c2c6483a (patch)
treed9c09a4858bdfc2f56ca2e76f79700a00e0eaea2 /src/wx/audio_dialog.h
parent8bfb6ae0780b0bf3318c345df78518ad3fabc9fc (diff)
Multiple simultaneous plots.
Diffstat (limited to 'src/wx/audio_dialog.h')
-rw-r--r--src/wx/audio_dialog.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/wx/audio_dialog.h b/src/wx/audio_dialog.h
index 623c9a067..c3875023f 100644
--- a/src/wx/audio_dialog.h
+++ b/src/wx/audio_dialog.h
@@ -21,6 +21,7 @@
#include <boost/signals2.hpp>
#include <wx/wx.h>
#include "lib/film.h"
+#include "lib/audio_analysis.h"
class AudioPlot;
class Film;
@@ -34,13 +35,15 @@ public:
private:
void film_changed (Film::Property);
- void channel_changed (wxCommandEvent &);
+ void channel_clicked (wxCommandEvent &);
+ void type_clicked (wxCommandEvent &);
void try_to_load_analysis ();
void setup_channels ();
boost::shared_ptr<Film> _film;
AudioPlot* _plot;
- wxChoice* _channel;
+ wxCheckBox* _channel_checkbox[MAX_AUDIO_CHANNELS];
+ wxCheckBox* _type_checkbox[AudioPoint::COUNT];
boost::signals2::scoped_connection _film_changed_connection;
boost::signals2::scoped_connection _film_audio_analysis_finished_connection;
};