Merge master.
[dcpomatic.git] / src / wx / subtitle_panel.h
index 19df26436af6c79cd7c8712d6ba568616dbac2a0..c5665098bb2cc839f4c51bb0e6789455ea56ec81 100644 (file)
@@ -1,5 +1,5 @@
 /*
-    Copyright (C) 2012-2013 Carl Hetherington <cth@carlh.net>
+    Copyright (C) 2012-2014 Carl Hetherington <cth@carlh.net>
 
     This program is free software; you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by
@@ -21,6 +21,7 @@
 
 class wxCheckBox;
 class wxSpinCtrl;
+class SubtitleView;
 
 class SubtitlePanel : public FilmEditorPanel
 {
@@ -32,15 +33,20 @@ public:
        void content_selection_changed ();
        
 private:
-       void with_subtitles_toggled ();
-       void offset_changed ();
+       void use_toggled ();
+       void x_offset_changed ();
+       void y_offset_changed ();
        void scale_changed ();
        void stream_changed ();
+       void view_clicked ();
 
        void setup_sensitivity ();
        
-       wxCheckBox* _with_subtitles;
-       wxSpinCtrl* _offset;
+       wxCheckBox* _use;
+       wxSpinCtrl* _x_offset;
+       wxSpinCtrl* _y_offset;
        wxSpinCtrl* _scale;
        wxChoice* _stream;
+       wxButton* _view_button;
+       SubtitleView* _view;
 };