d588620e70bf15da29cc242e4ae8d86977e8f36a from master; fix hang if you cancel a paused...
[dcpomatic.git] / src / wx / subtitle_panel.h
index 9e60db34b23de055ff7208f797622de16ea70fa2..ef94adb5468ca959457aa5722e97e6c10ee43f09 100644 (file)
@@ -22,6 +22,7 @@
 class wxCheckBox;
 class wxSpinCtrl;
 class SubtitleView;
+class FontsDialog;
 
 class SubtitlePanel : public ContentSubPanel
 {
@@ -36,17 +37,24 @@ private:
        void use_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;
        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;
 };