2 Copyright (C) 2012-2014 Carl Hetherington <cth@carlh.net>
4 This program is free software; you can redistribute it and/or modify
5 it under the terms of the GNU General Public License as published by
6 the Free Software Foundation; either version 2 of the License, or
7 (at your option) any later version.
9 This program is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 GNU General Public License for more details.
14 You should have received a copy of the GNU General Public License
15 along with this program; if not, write to the Free Software
16 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
20 #include <boost/shared_ptr.hpp>
38 DCPPanel (wxNotebook *, boost::shared_ptr<Film>);
40 void set_film (boost::shared_ptr<Film>);
41 void set_general_sensitivity (bool);
43 void film_changed (int);
44 void film_content_changed (int);
46 wxPanel* panel () const {
52 void use_isdcf_name_toggled ();
53 void edit_isdcf_button_clicked ();
54 void container_changed ();
55 void dcp_content_type_changed ();
56 void scaler_changed ();
57 void j2k_bandwidth_changed ();
58 void frame_rate_choice_changed ();
59 void frame_rate_spin_changed ();
60 void best_frame_rate_clicked ();
61 void content_timeline_clicked ();
62 void audio_channels_changed ();
63 void resolution_changed ();
64 void three_d_changed ();
65 void standard_changed ();
66 void signed_toggled ();
67 void burn_subtitles_toggled ();
68 void encrypted_toggled ();
70 void setup_frame_rate_widget ();
71 void setup_container ();
72 void setup_dcp_name ();
74 wxPanel* make_general_panel ();
75 wxPanel* make_video_panel ();
76 wxPanel* make_audio_panel ();
78 void config_changed ();
81 wxNotebook* _notebook;
85 wxStaticText* _dcp_name;
86 wxCheckBox* _use_isdcf_name;
88 wxButton* _edit_isdcf_button;
90 wxSpinCtrl* _j2k_bandwidth;
91 wxChoice* _dcp_content_type;
92 wxChoice* _frame_rate_choice;
93 wxSpinCtrl* _frame_rate_spin;
94 wxSizer* _frame_rate_sizer;
95 wxSpinCtrl* _audio_channels;
96 wxButton* _best_frame_rate;
98 wxChoice* _resolution;
101 wxCheckBox* _burn_subtitles;
102 wxCheckBox* _encrypted;
104 boost::shared_ptr<Film> _film;
105 bool _generally_sensitive;