Add SubtitleContent.
[dcpomatic.git] / src / wx / film_editor.h
index c34cd73e005804dad78abfe21916ff55e9ec0354..fdc6e077dbc7d48ed7a810daf90bc45047cfd428 100644 (file)
@@ -35,7 +35,7 @@ class Film;
 class AudioDialog;
 class TimelineDialog;
 class AudioMappingView;
-class Format;
+class Ratio;
 class Timecode;
 
 /** @class FilmEditor
@@ -96,13 +96,14 @@ private:
        void audio_mapping_changed (AudioMapping);
        void start_changed ();
        void length_changed ();
+       void ratio_changed (wxCommandEvent &);
 
        /* Handle changes to the model */
        void film_changed (Film::Property);
        void film_content_changed (boost::weak_ptr<Content>, int);
 
        void set_things_sensitive (bool);
-       void setup_formats ();
+       void setup_ratios ();
        void setup_subtitle_control_sensitivity ();
        void setup_dcp_name ();
        void setup_show_audio_sensitivity ();
@@ -117,6 +118,7 @@ private:
        boost::shared_ptr<Content> selected_content ();
        boost::shared_ptr<VideoContent> selected_video_content ();
        boost::shared_ptr<AudioContent> selected_audio_content ();
+       boost::shared_ptr<SubtitleContent> selected_subtitle_content ();
 
        wxNotebook* _main_notebook;
        wxNotebook* _content_notebook;
@@ -144,8 +146,8 @@ private:
        wxCheckBox* _loop_content;
        wxSpinCtrl* _loop_count;
        wxButton* _edit_dci_button;
-       wxChoice* _format;
-       wxStaticText* _format_description;
+       wxChoice* _ratio;
+       wxStaticText* _ratio_description;
        wxStaticText* _scaling_description;
        wxSpinCtrl* _left_crop;
        wxSpinCtrl* _right_crop;
@@ -173,7 +175,7 @@ private:
        Timecode* _start;
        Timecode* _length;
 
-       std::vector<Format const *> _formats;
+       std::vector<Ratio const *> _ratios;
 
        bool _generally_sensitive;
        AudioDialog* _audio_dialog;