Add missing i18n attribution.
[dcpomatic.git] / src / wx / video_panel.h
index 4bd526d499d0cd1c7d85c7425f64991211d17da7..2f0c97cb7643f399fbfbd4635972ae39d41b990a 100644 (file)
@@ -19,6 +19,7 @@
 
 #include "lib/film.h"
 #include "film_editor_panel.h"
+#include "content_widget.h"
 
 class wxChoice;
 class wxStaticText;
@@ -31,27 +32,24 @@ public:
        VideoPanel (FilmEditor *);
 
        void film_changed (Film::Property);
-       void film_content_changed (boost::shared_ptr<Content>, int);
+       void film_content_changed (int);
+       void content_selection_changed ();
 
 private:
-       void left_crop_changed ();
-       void right_crop_changed ();
-       void top_crop_changed ();
-       void bottom_crop_changed ();
        void edit_filters_clicked ();
-       void ratio_changed ();
-       void frame_type_changed ();
-
-       void setup_scaling_description ();
-
-       wxChoice* _frame_type;
-       wxSpinCtrl* _left_crop;
-       wxSpinCtrl* _right_crop;
-       wxSpinCtrl* _top_crop;
-       wxSpinCtrl* _bottom_crop;
-       wxChoice* _ratio;
-       wxStaticText* _ratio_description;
-       wxStaticText* _scaling_description;
+       void edit_colour_conversion_clicked ();
+
+       void setup_description ();
+
+       ContentChoice<VideoContent, VideoFrameType>* _frame_type;
+       ContentSpinCtrl<VideoContent>*               _left_crop;
+       ContentSpinCtrl<VideoContent>*               _right_crop;
+       ContentSpinCtrl<VideoContent>*               _top_crop;
+       ContentSpinCtrl<VideoContent>*               _bottom_crop;
+       ContentChoice<VideoContent, Ratio const *>*  _ratio;
+       wxStaticText* _description;
        wxStaticText* _filters;
        wxButton* _filters_button;
+       wxStaticText* _colour_conversion;
+       wxButton* _colour_conversion_button;
 };