X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Fsubtitle_panel.h;h=7eb9cd27e8aab4e6913048db6a97491e4e043f21;hb=c2ce6455ababea2f1db9fb5d8771fa1327c2fcdb;hp=bcff995a0029a5ef223d5381113648aaef893fc0;hpb=391d85619ac19a2a93696ddc35c222eb9bb5d9d6;p=dcpomatic.git diff --git a/src/wx/subtitle_panel.h b/src/wx/subtitle_panel.h index bcff995a0..7eb9cd27e 100644 --- a/src/wx/subtitle_panel.h +++ b/src/wx/subtitle_panel.h @@ -22,6 +22,7 @@ class wxCheckBox; class wxSpinCtrl; class SubtitleView; +class FontsDialog; class SubtitlePanel : public ContentSubPanel { @@ -31,24 +32,33 @@ public: 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 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 reference_clicked (); void setup_sensitivity (); - + + wxCheckBox* _reference; wxCheckBox* _use; + wxCheckBox* _burn; wxSpinCtrl* _x_offset; wxSpinCtrl* _y_offset; 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; };