Fix resizing/redraw problems on Windows.
[dcpomatic.git] / src / wx / film_editor.h
index da9bb0301e46023868bd5d77efb8a1616351ea26..e2a4d583641eb9ae23ea5d76afc0262b602be20e 100644 (file)
@@ -65,6 +65,7 @@ private:
        void format_changed (wxCommandEvent &);
        void trim_start_changed (wxCommandEvent &);
        void trim_end_changed (wxCommandEvent &);
+       void trim_type_changed (wxCommandEvent &);
        void dcp_content_type_changed (wxCommandEvent &);
        void dcp_ab_toggled (wxCommandEvent &);
        void scaler_changed (wxCommandEvent &);
@@ -82,6 +83,8 @@ private:
        void subtitle_stream_changed (wxCommandEvent &);
        void use_audio_changed (wxCommandEvent &);
        void external_audio_changed (wxCommandEvent &);
+       void dcp_frame_rate_changed (wxCommandEvent &);
+       void best_dcp_frame_rate_clicked (wxCommandEvent &);
 
        /* Handle changes to the model */
        void film_changed (Film::Property);
@@ -96,6 +99,10 @@ private:
        void setup_streams ();
        void setup_audio_details ();
        void setup_dcp_name ();
+       void setup_show_audio_sensitivity ();
+       void setup_scaling_description ();
+       void setup_notebook_size ();
+       void setup_frame_rate_description ();
        
        wxControl* video_control (wxControl *);
        wxControl* still_control (wxControl *);
@@ -121,6 +128,7 @@ private:
        wxButton* _edit_dci_button;
        /** The Film's format */
        wxChoice* _format;
+       wxStaticText* _scaling_description;
        /** The Film's content file */
        wxFilePickerCtrl* _content;
        wxCheckBox* _trust_content_header;
@@ -159,8 +167,9 @@ private:
        wxChoice* _dcp_content_type;
        /** The Film's source frame rate */
        wxStaticText* _source_frame_rate;
-       /** The Film's original size */
-       wxStaticText* _original_size;
+       wxChoice* _dcp_frame_rate;
+       wxButton* _best_dcp_frame_rate;
+       wxStaticText* _frame_rate_description;
        /** The Film's length */
        wxStaticText* _length;
        /** The Film's audio details */
@@ -170,6 +179,7 @@ private:
 
        wxSpinCtrl* _trim_start;
        wxSpinCtrl* _trim_end;
+       wxChoice* _trim_type;
        /** Selector to generate an A/B comparison DCP */
        wxCheckBox* _dcp_ab;