summaryrefslogtreecommitdiff
path: root/src/wx/video_panel.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2013-11-11 15:41:31 +0000
committerCarl Hetherington <cth@carlh.net>2013-11-11 15:41:31 +0000
commit1e1e5b454c72d818c9fe142296d489c7983a5849 (patch)
tree005fcb5d09e5f4cfe204308db63f0b85a4cd2165 /src/wx/video_panel.h
parentcb83eb7b209054da2f81b456a0fbda6ea9d03844 (diff)
Pull more stuff into ContentWidget.
Diffstat (limited to 'src/wx/video_panel.h')
-rw-r--r--src/wx/video_panel.h15
1 files changed, 5 insertions, 10 deletions
diff --git a/src/wx/video_panel.h b/src/wx/video_panel.h
index 5b0c95880..b4e0eb71b 100644
--- a/src/wx/video_panel.h
+++ b/src/wx/video_panel.h
@@ -19,7 +19,7 @@
#include "lib/film.h"
#include "film_editor_panel.h"
-#include "multiple_widget.h"
+#include "content_widget.h"
class wxChoice;
class wxStaticText;
@@ -36,11 +36,6 @@ public:
void content_selection_changed ();
private:
- void set_left_crop_same ();
- 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 ();
@@ -49,10 +44,10 @@ private:
void setup_description ();
wxChoice* _frame_type;
- MultipleWidget<wxSpinCtrl>* _left_crop;
- MultipleWidget<wxSpinCtrl>* _right_crop;
- MultipleWidget<wxSpinCtrl>* _top_crop;
- MultipleWidget<wxSpinCtrl>* _bottom_crop;
+ ContentWidget<VideoContent, wxSpinCtrl>* _left_crop;
+ ContentWidget<VideoContent, wxSpinCtrl>* _right_crop;
+ ContentWidget<VideoContent, wxSpinCtrl>* _top_crop;
+ ContentWidget<VideoContent, wxSpinCtrl>* _bottom_crop;
wxChoice* _ratio;
wxStaticText* _ratio_description;
wxStaticText* _description;