summaryrefslogtreecommitdiff
path: root/src/wx/video_panel.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2013-11-11 12:53:26 +0000
committerCarl Hetherington <cth@carlh.net>2013-11-11 12:53:26 +0000
commitcb83eb7b209054da2f81b456a0fbda6ea9d03844 (patch)
tree214f5ebeaefdbeb20129b541dfe9715588999aeb /src/wx/video_panel.h
parentdeafd62ea410aa23b6b4c87989e8bc7e95db46e3 (diff)
Basic multiple selection for cropping.
Diffstat (limited to 'src/wx/video_panel.h')
-rw-r--r--src/wx/video_panel.h13
1 files changed, 8 insertions, 5 deletions
diff --git a/src/wx/video_panel.h b/src/wx/video_panel.h
index 2ecf3c87f..5b0c95880 100644
--- a/src/wx/video_panel.h
+++ b/src/wx/video_panel.h
@@ -19,6 +19,7 @@
#include "lib/film.h"
#include "film_editor_panel.h"
+#include "multiple_widget.h"
class wxChoice;
class wxStaticText;
@@ -31,9 +32,11 @@ 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 set_left_crop_same ();
void left_crop_changed ();
void right_crop_changed ();
void top_crop_changed ();
@@ -46,10 +49,10 @@ private:
void setup_description ();
wxChoice* _frame_type;
- wxSpinCtrl* _left_crop;
- wxSpinCtrl* _right_crop;
- wxSpinCtrl* _top_crop;
- wxSpinCtrl* _bottom_crop;
+ MultipleWidget<wxSpinCtrl>* _left_crop;
+ MultipleWidget<wxSpinCtrl>* _right_crop;
+ MultipleWidget<wxSpinCtrl>* _top_crop;
+ MultipleWidget<wxSpinCtrl>* _bottom_crop;
wxChoice* _ratio;
wxStaticText* _ratio_description;
wxStaticText* _description;