#include "lib/film.h"
#include "film_editor_panel.h"
+#include "content_widget.h"
class wxChoice;
class wxStaticText;
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 edit_colour_conversion_clicked ();
void setup_description ();
- wxChoice* _frame_type;
- wxSpinCtrl* _left_crop;
- wxSpinCtrl* _right_crop;
- wxSpinCtrl* _top_crop;
- wxSpinCtrl* _bottom_crop;
- wxChoice* _ratio;
- wxStaticText* _ratio_description;
+ ContentChoice<VideoContent, VideoFrameType>* _frame_type;
+ ContentSpinCtrl<VideoContent>* _left_crop;
+ ContentSpinCtrl<VideoContent>* _right_crop;
+ ContentSpinCtrl<VideoContent>* _top_crop;
+ ContentSpinCtrl<VideoContent>* _bottom_crop;
+ ContentChoice<VideoContent, VideoContentScale>* _scale;
wxStaticText* _description;
wxStaticText* _filters;
wxButton* _filters_button;
+ wxStaticText* _colour_conversion;
+ wxButton* _colour_conversion_button;
};