X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Ftext_panel.h;h=4a8b8c17bef466cd39f9bd677e3422d55561ff35;hb=3044ef060894c62e8a1cef15ad14078001093982;hp=c1bf6877953da00bc2acfdea00febd12cd4f816d;hpb=2571104b6a208fa00b2c98d50f97849c3e7fa6c9;p=dcpomatic.git diff --git a/src/wx/text_panel.h b/src/wx/text_panel.h index c1bf68779..4a8b8c17b 100644 --- a/src/wx/text_panel.h +++ b/src/wx/text_panel.h @@ -1,5 +1,5 @@ /* - Copyright (C) 2012-2018 Carl Hetherington + Copyright (C) 2012-2019 Carl Hetherington This file is part of DCP-o-matic. @@ -43,7 +43,7 @@ private: void x_scale_changed (); void y_scale_changed (); void line_spacing_changed (); - void name_changed (); + void dcp_track_changed (); void language_changed (); void stream_changed (); void text_view_clicked (); @@ -51,21 +51,40 @@ private: 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 (); + void setup_visibility (); wxCheckBox* _reference; wxStaticText* _reference_note; 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; - wxTextCtrl* _name; + wxStaticText* _dcp_track_label; + wxChoice* _dcp_track; + wxStaticText* _language_label; wxTextCtrl* _language; + wxStaticText* _stream_label; wxChoice* _stream; wxButton* _text_view_button; TextView* _text_view; @@ -73,4 +92,6 @@ private: FontsDialog* _fonts_dialog; wxButton* _appearance_dialog_button; TextType _original_type; + + int _language_row; };