*/
+#include "lib/audio_mapping.h"
#include "film_editor_panel.h"
+#include "content_widget.h"
-class wxSpinCtrl;
+class wxSpinCtrlDouble;
class wxButton;
class wxChoice;
class wxStaticText;
AudioPanel (FilmEditor *);
void film_changed (Film::Property);
- void film_content_changed (
- boost::shared_ptr<Content>,
- boost::shared_ptr<AudioContent>,
- boost::shared_ptr<SubtitleContent>,
- boost::shared_ptr<FFmpegContent>,
- 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;
+ ContentSpinCtrlDouble<AudioContent>* _gain;
wxButton* _gain_calculate_button;
wxButton* _show;
- wxSpinCtrl* _delay;
+ ContentSpinCtrl<AudioContent>* _delay;
wxChoice* _stream;
wxStaticText* _description;
AudioMappingView* _mapping;