summaryrefslogtreecommitdiff
path: root/src/wx/video_panel.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2013-07-19 23:37:30 +0100
committerCarl Hetherington <cth@carlh.net>2013-07-19 23:37:30 +0100
commit11c54ca7ffb9f4b70dff6414b8da2099597b0d4d (patch)
treef9e00c8eb5cbd3286f7638a5ab13ce598acd999e /src/wx/video_panel.h
parenteceeb0c13cdaf08204968047269b49d8d493f741 (diff)
Split video panel.
Diffstat (limited to 'src/wx/video_panel.h')
-rw-r--r--src/wx/video_panel.h53
1 files changed, 53 insertions, 0 deletions
diff --git a/src/wx/video_panel.h b/src/wx/video_panel.h
new file mode 100644
index 000000000..a373f091e
--- /dev/null
+++ b/src/wx/video_panel.h
@@ -0,0 +1,53 @@
+/*
+ Copyright (C) 2012-2013 Carl Hetherington <cth@carlh.net>
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+
+*/
+
+#include "film_editor_panel.h"
+
+class wxChoice;
+class wxStaticText;
+class wxSpinCtrl;
+class wxButton;
+
+class VideoPanel : public FilmEditorPanel
+{
+public:
+ VideoPanel (FilmEditor *);
+
+ void film_content_changed (boost::shared_ptr<Content>, int);
+
+ void setup_scaling_description ();
+
+private:
+ void left_crop_changed (wxCommandEvent &);
+ void right_crop_changed (wxCommandEvent &);
+ void top_crop_changed (wxCommandEvent &);
+ void bottom_crop_changed (wxCommandEvent &);
+ void edit_filters_clicked (wxCommandEvent &);
+ void ratio_changed (wxCommandEvent &);
+
+ wxChoice* _ratio;
+ wxStaticText* _ratio_description;
+ wxStaticText* _scaling_description;
+ wxSpinCtrl* _left_crop;
+ wxSpinCtrl* _right_crop;
+ wxSpinCtrl* _top_crop;
+ wxSpinCtrl* _bottom_crop;
+ wxStaticText* _filters;
+ wxButton* _filters_button;
+};