Updated fr_FR translation from Thierry Journet.
[dcpomatic.git] / src / wx / audio_panel.h
index f4a595f3278087d344cf4dd32afaed056c2c1e13..f1b932e7cee2602d1421f32b593e855206e6e365 100644 (file)
@@ -17,7 +17,9 @@
 
 */
 
+#include "lib/audio_mapping.h"
 #include "film_editor_panel.h"
+#include "content_widget.h"
 
 class wxSpinCtrl;
 class wxButton;
@@ -32,23 +34,20 @@ 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_stream_description ();
 
-       wxSpinCtrl* _gain;
+       ContentSpinCtrl<AudioContent>* _gain;
        wxButton* _gain_calculate_button;
        wxButton* _show;
-       wxSpinCtrl* _delay;
+       ContentSpinCtrl<AudioContent>* _delay;
        wxChoice* _stream;
        wxStaticText* _description;
        AudioMappingView* _mapping;