X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Ftext_panel.h;h=4a8b8c17bef466cd39f9bd677e3422d55561ff35;hb=f10e025eba54b0ab4dbe1b3611071b160ca89208;hp=3d3483a465d36dfbc4fddc55058ea802f7fb6273;hpb=6a646daeb7586fdf42bfd344960d9ba1e83466bf;p=dcpomatic.git diff --git a/src/wx/text_panel.h b/src/wx/text_panel.h index 3d3483a46..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,6 +43,7 @@ private: void x_scale_changed (); void y_scale_changed (); void line_spacing_changed (); + void dcp_track_changed (); void language_changed (); void stream_changed (); void text_view_clicked (); @@ -50,20 +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; + wxStaticText* _dcp_track_label; + wxChoice* _dcp_track; + wxStaticText* _language_label; wxTextCtrl* _language; + wxStaticText* _stream_label; wxChoice* _stream; wxButton* _text_view_button; TextView* _text_view; @@ -71,4 +92,6 @@ private: FontsDialog* _fonts_dialog; wxButton* _appearance_dialog_button; TextType _original_type; + + int _language_row; };