projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Missing include.
[dcpomatic.git]
/
src
/
wx
/
audio_panel.h
diff --git
a/src/wx/audio_panel.h
b/src/wx/audio_panel.h
index 5e8f925975c6e41564d5f76a70fc3bbe22b19630..213ad4cb7db23384ef100d880492a219255b34a0 100644
(file)
--- a/
src/wx/audio_panel.h
+++ b/
src/wx/audio_panel.h
@@
-1,5
+1,5
@@
/*
/*
- Copyright (C) 2012-202
1
Carl Hetherington <cth@carlh.net>
+ Copyright (C) 2012-202
2
Carl Hetherington <cth@carlh.net>
This file is part of DCP-o-matic.
This file is part of DCP-o-matic.
@@
-22,6
+22,7
@@
#include "lib/audio_mapping.h"
#include "content_sub_panel.h"
#include "content_widget.h"
#include "lib/audio_mapping.h"
#include "content_sub_panel.h"
#include "content_widget.h"
+#include "timecode.h"
class wxSpinCtrlDouble;
class wxSpinCtrlDouble;
@@
-56,6
+57,9
@@
private:
void reference_clicked ();
void add_to_grid () override;
boost::optional<float> peak () const;
void reference_clicked ();
void add_to_grid () override;
boost::optional<float> peak () const;
+ void fade_in_changed ();
+ void fade_out_changed ();
+ void use_same_fades_as_video_changed ();
wxCheckBox* _reference;
wxStaticText* _reference_note;
wxCheckBox* _reference;
wxStaticText* _reference_note;
@@
-68,9
+72,14
@@
private:
wxStaticText* _delay_label;
wxStaticText* _delay_ms_label;
ContentSpinCtrl<AudioContent>* _delay;
wxStaticText* _delay_label;
wxStaticText* _delay_ms_label;
ContentSpinCtrl<AudioContent>* _delay;
+ wxStaticText* _fade_in_label;
+ Timecode<dcpomatic::ContentTime>* _fade_in;
+ wxStaticText* _fade_out_label;
+ Timecode<dcpomatic::ContentTime>* _fade_out;
+ wxCheckBox* _use_same_fades_as_video;
AudioMappingView* _mapping;
wxStaticText* _description;
AudioMappingView* _mapping;
wxStaticText* _description;
- AudioDialog* _audio_dialog;
+ AudioDialog* _audio_dialog
= nullptr
;
boost::signals2::scoped_connection _mapping_connection;
boost::signals2::scoped_connection _active_jobs_connection;
boost::signals2::scoped_connection _mapping_connection;
boost::signals2::scoped_connection _active_jobs_connection;