No-op: remove all trailing whitespace.
[dcpomatic.git] / src / wx / subtitle_panel.h
index 1ee775025ae80710638f869c2488fb9366a1b182..5a39f3bcd5e0b437a9946c7566e1a8b99d283363 100644 (file)
 
 */
 
-#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 with_subtitles_toggled ();
+       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* _with_subtitles;
+
+       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;
 };