X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Fsubtitle_panel.h;h=bcff995a0029a5ef223d5381113648aaef893fc0;hb=3e12c68dc0451e73b5bc1a84d1d70f4999f7b4b5;hp=c5665098bb2cc839f4c51bb0e6789455ea56ec81;hpb=e6c67f4aac2ca9afc275b6f13058e1e46f2cecc3;p=dcpomatic.git diff --git a/src/wx/subtitle_panel.h b/src/wx/subtitle_panel.h index c5665098b..bcff995a0 100644 --- a/src/wx/subtitle_panel.h +++ b/src/wx/subtitle_panel.h @@ -17,16 +17,16 @@ */ -#include "film_editor_panel.h" +#include "content_sub_panel.h" class wxCheckBox; class wxSpinCtrl; class SubtitleView; -class SubtitlePanel : public FilmEditorPanel +class SubtitlePanel : public ContentSubPanel { public: - SubtitlePanel (FilmEditor *); + SubtitlePanel (ContentPanel *); void film_changed (Film::Property); void film_content_changed (int); @@ -36,7 +36,8 @@ private: void use_toggled (); void x_offset_changed (); void y_offset_changed (); - void scale_changed (); + void x_scale_changed (); + void y_scale_changed (); void stream_changed (); void view_clicked (); @@ -45,7 +46,8 @@ private: wxCheckBox* _use; wxSpinCtrl* _x_offset; wxSpinCtrl* _y_offset; - wxSpinCtrl* _scale; + wxSpinCtrl* _x_scale; + wxSpinCtrl* _y_scale; wxChoice* _stream; wxButton* _view_button; SubtitleView* _view;