d588620e70bf15da29cc242e4ae8d86977e8f36a from master; fix hang if you cancel a paused...
[dcpomatic.git] / src / wx / subtitle_panel.h
index bcff995a0029a5ef223d5381113648aaef893fc0..ef94adb5468ca959457aa5722e97e6c10ee43f09 100644 (file)
@@ -22,6 +22,7 @@
 class wxCheckBox;
 class wxSpinCtrl;
 class SubtitleView;
+class FontsDialog;
 
 class SubtitlePanel : public ContentSubPanel
 {
@@ -38,8 +39,10 @@ private:
        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 setup_sensitivity ();
        
@@ -48,7 +51,10 @@ private:
        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;
 };