class TextPanel : public ContentSubPanel
{
public:
TextPanel (ContentPanel *, TextType t);
class TextPanel : public ContentSubPanel
{
public:
TextPanel (ContentPanel *, TextType t);
- void film_changed (Film::Property);
- void film_content_changed (int);
- void content_selection_changed ();
+ void create () override;
+ void film_changed (Film::Property) override;
+ void film_content_changed (int) override;
+ void content_selection_changed () override;
TextType current_type () const;
void update_dcp_tracks ();
void update_dcp_track_selection ();
TextType current_type () const;
void update_dcp_tracks ();
void update_dcp_track_selection ();
wxStaticText* _offset_label;
wxStaticText* _x_offset_label;
wxStaticText* _x_offset_pc_label;
wxStaticText* _y_offset_label;
wxStaticText* _y_offset_pc_label;
wxStaticText* _offset_label;
wxStaticText* _x_offset_label;
wxStaticText* _x_offset_pc_label;
wxStaticText* _y_offset_label;
wxStaticText* _y_offset_pc_label;
wxStaticText* _scale_label;
wxStaticText* _x_scale_label;
wxStaticText* _x_scale_pc_label;
wxStaticText* _y_scale_label;
wxStaticText* _y_scale_pc_label;
wxStaticText* _scale_label;
wxStaticText* _x_scale_label;
wxStaticText* _x_scale_pc_label;
wxStaticText* _y_scale_label;
wxStaticText* _y_scale_pc_label;
- wxSpinCtrl* _line_spacing;
- wxStaticText* _dcp_track_label;
- wxChoice* _dcp_track;
- wxStaticText* _language_label;
- wxTextCtrl* _language;
+ SpinCtrl* _line_spacing;
+ wxStaticText* _dcp_track_label = nullptr;
+ wxChoice* _dcp_track = nullptr;