X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Fsubtitle_panel.h;h=04f21860fa684f78bdc79eccd58e03e3a55ed226;hb=78bc6f9286864052b304a1871739479c16e393dd;hp=c5665098bb2cc839f4c51bb0e6789455ea56ec81;hpb=e6c67f4aac2ca9afc275b6f13058e1e46f2cecc3;p=dcpomatic.git diff --git a/src/wx/subtitle_panel.h b/src/wx/subtitle_panel.h index c5665098b..04f21860f 100644 --- a/src/wx/subtitle_panel.h +++ b/src/wx/subtitle_panel.h @@ -17,36 +17,46 @@ */ -#include "film_editor_panel.h" +#include "content_sub_panel.h" class wxCheckBox; class wxSpinCtrl; class SubtitleView; +class FontsDialog; -class SubtitlePanel : public FilmEditorPanel +class SubtitlePanel : public ContentSubPanel { public: - SubtitlePanel (FilmEditor *); + SubtitlePanel (ContentPanel *); void film_changed (Film::Property); void film_content_changed (int); void content_selection_changed (); - + private: void use_toggled (); + void burn_toggled (); void x_offset_changed (); void y_offset_changed (); - void scale_changed (); + void x_scale_changed (); + void y_scale_changed (); + void language_changed (); void stream_changed (); - void view_clicked (); + void subtitle_view_clicked (); + void fonts_dialog_clicked (); void setup_sensitivity (); - + wxCheckBox* _use; + wxCheckBox* _burn; wxSpinCtrl* _x_offset; wxSpinCtrl* _y_offset; - wxSpinCtrl* _scale; + wxSpinCtrl* _x_scale; + wxSpinCtrl* _y_scale; + wxTextCtrl* _language; wxChoice* _stream; - wxButton* _view_button; - SubtitleView* _view; + wxButton* _subtitle_view_button; + SubtitleView* _subtitle_view; + wxButton* _fonts_dialog_button; + FontsDialog* _fonts_dialog; };