diff options
Diffstat (limited to 'src/wx/video_panel.h')
| -rw-r--r-- | src/wx/video_panel.h | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/src/wx/video_panel.h b/src/wx/video_panel.h new file mode 100644 index 000000000..2ecf3c87f --- /dev/null +++ b/src/wx/video_panel.h @@ -0,0 +1,60 @@ +/* + 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 "lib/film.h" +#include "film_editor_panel.h" + +class wxChoice; +class wxStaticText; +class wxSpinCtrl; +class wxButton; + +class VideoPanel : public FilmEditorPanel +{ +public: + VideoPanel (FilmEditor *); + + void film_changed (Film::Property); + void film_content_changed (boost::shared_ptr<Content>, int); + +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; + wxStaticText* _description; + wxStaticText* _filters; + wxButton* _filters_button; + wxStaticText* _colour_conversion; + wxButton* _colour_conversion_button; +}; |
