summaryrefslogtreecommitdiff
path: root/src/wx/video_panel.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2018-09-06 22:47:52 +0100
committerCarl Hetherington <cth@carlh.net>2018-09-06 22:47:52 +0100
commitae2a7f6ae087b807de225448c71130eb1e7d6726 (patch)
tree3585cef236da4be6bbba59d06fe78321be4c8654 /src/wx/video_panel.h
parent33a2c1355cc52372565835638bea0dab1e3f85a1 (diff)
Basic simple support for video panel.
Diffstat (limited to 'src/wx/video_panel.h')
-rw-r--r--src/wx/video_panel.h31
1 files changed, 23 insertions, 8 deletions
diff --git a/src/wx/video_panel.h b/src/wx/video_panel.h
index a1579bf62..3c7588eb1 100644
--- a/src/wx/video_panel.h
+++ b/src/wx/video_panel.h
@@ -1,5 +1,5 @@
/*
- Copyright (C) 2012-2015 Carl Hetherington <cth@carlh.net>
+ Copyright (C) 2012-2018 Carl Hetherington <cth@carlh.net>
This file is part of DCP-o-matic.
@@ -27,6 +27,7 @@
#include "timecode.h"
#include "lib/video_content_scale.h"
#include "lib/film.h"
+#include "lib/config.h"
class wxChoice;
class wxStaticText;
@@ -52,23 +53,37 @@ private:
void edit_colour_conversion_clicked ();
void fade_in_changed ();
void fade_out_changed ();
+ void add_to_grid ();
+ void config_changed (Config::Property p);
void setup_description ();
void setup_sensitivity ();
+ wxGridBagSizer* _grid;
wxCheckBox* _reference;
wxStaticText* _reference_note;
- ContentChoice<VideoContent, VideoFrameType>* _frame_type;
- ContentSpinCtrl<VideoContent>* _left_crop;
- ContentSpinCtrl<VideoContent>* _right_crop;
- ContentSpinCtrl<VideoContent>* _top_crop;
- ContentSpinCtrl<VideoContent>* _bottom_crop;
- Timecode<ContentTime>* _fade_in;
- Timecode<ContentTime>* _fade_out;
+ wxStaticText* _type_label;
+ ContentChoice<VideoContent, VideoFrameType>* _frame_type;
+ wxStaticText* _crop_label;
+ wxStaticText* _left_crop_label;
+ ContentSpinCtrl<VideoContent>* _left_crop;
+ wxStaticText* _right_crop_label;
+ ContentSpinCtrl<VideoContent>* _right_crop;
+ wxStaticText* _top_crop_label;
+ ContentSpinCtrl<VideoContent>* _top_crop;
+ wxStaticText* _bottom_crop_label;
+ ContentSpinCtrl<VideoContent>* _bottom_crop;
+ wxStaticText* _fade_in_label;
+ Timecode<ContentTime>* _fade_in;
+ wxStaticText* _fade_out_label;
+ Timecode<ContentTime>* _fade_out;
+ wxStaticText* _scale_to_label;
ContentChoice<VideoContent, VideoContentScale>* _scale;
wxStaticText* _description;
+ wxStaticText* _filters_label;
wxStaticText* _filters;
wxButton* _filters_button;
+ wxStaticText* _colour_conversion_label;
wxChoice* _colour_conversion;
wxButton* _edit_colour_conversion_button;
};