Give DCPDecoder its own ::position which just returns its internal
[dcpomatic.git] / src / wx / text_panel.h
index 70d46dacd10e692cdbc3c7756197238e487f1ba9..14a84c610f414983296ff2f5171ded41ddb0df87 100644 (file)
@@ -43,12 +43,17 @@ private:
        void x_scale_changed ();
        void y_scale_changed ();
        void line_spacing_changed ();
+       void dcp_track_changed ();
        void language_changed ();
        void stream_changed ();
-       void caption_view_clicked ();
+       void text_view_clicked ();
        void fonts_dialog_clicked ();
        void reference_clicked ();
        void appearance_dialog_clicked ();
+       TextType current_type () const;
+       void update_dcp_tracks ();
+       void update_dcp_track_selection ();
+       void add_to_grid ();
 
        void setup_sensitivity ();
 
@@ -57,15 +62,31 @@ private:
        wxCheckBox* _use;
        wxChoice* _type;
        wxCheckBox* _burn;
+       wxStaticText* _offset_label;
+       wxStaticText* _x_offset_label;
+       wxStaticText* _x_offset_pc_label;
+       wxStaticText* _y_offset_label;
+       wxStaticText* _y_offset_pc_label;
        wxSpinCtrl* _x_offset;
        wxSpinCtrl* _y_offset;
+       wxStaticText* _scale_label;
+       wxStaticText* _x_scale_label;
+       wxStaticText* _x_scale_pc_label;
+       wxStaticText* _y_scale_label;
+       wxStaticText* _y_scale_pc_label;
        wxSpinCtrl* _x_scale;
        wxSpinCtrl* _y_scale;
+       wxStaticText* _line_spacing_label;
+       wxStaticText* _line_spacing_pc_label;
        wxSpinCtrl* _line_spacing;
+       wxStaticText* _dcp_track_label;
+       wxChoice* _dcp_track;
+       wxStaticText* _language_label;
        wxTextCtrl* _language;
+       wxStaticText* _stream_label;
        wxChoice* _stream;
-       wxButton* _caption_view_button;
-       TextView* _caption_view;
+       wxButton* _text_view_button;
+       TextView* _text_view;
        wxButton* _fonts_dialog_button;
        FontsDialog* _fonts_dialog;
        wxButton* _appearance_dialog_button;