Bump version
[dcpomatic.git] / src / wx / audio_panel.h
index f4a595f3278087d344cf4dd32afaed056c2c1e13..fa18415bdb345fccc09e78a785077e2fa2ffe382 100644 (file)
 
 */
 
+#include "lib/audio_mapping.h"
 #include "film_editor_panel.h"
+#include "content_widget.h"
 
-class wxSpinCtrl;
+class wxSpinCtrlDouble;
 class wxButton;
 class wxChoice;
 class wxStaticText;
@@ -32,25 +34,24 @@ public:
        AudioPanel (FilmEditor *);
 
        void film_changed (Film::Property);
-       void film_content_changed (boost::shared_ptr<Content>, int);
+       void film_content_changed (int);
        void content_selection_changed ();
-
-       void setup_sensitivity ();
        
 private:
-       void gain_changed (wxCommandEvent &);
-       void gain_calculate_button_clicked (wxCommandEvent &);
-       void show_clicked (wxCommandEvent &);
-       void delay_changed (wxCommandEvent &);
-       void stream_changed (wxCommandEvent &);
+       void gain_calculate_button_clicked ();
+       void show_clicked ();
+       void stream_changed ();
        void mapping_changed (AudioMapping);
+       void setup_description ();
+       void setup_stream_description ();
 
-       wxSpinCtrl* _gain;
+       ContentSpinCtrlDouble<AudioContent>* _gain;
        wxButton* _gain_calculate_button;
        wxButton* _show;
-       wxSpinCtrl* _delay;
+       ContentSpinCtrl<AudioContent>* _delay;
        wxChoice* _stream;
-       wxStaticText* _description;
+       wxStaticText* _stream_description;
        AudioMappingView* _mapping;
+       wxStaticText* _description;
        AudioDialog* _audio_dialog;
 };