X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Fvideo_panel.h;h=81e65d820e68b5e703320122422723b896af97c0;hb=45bc91b9a909035252ee10afe4fed2eef996e4ed;hp=2e394e4fc7af4b68aab25e7d97cad7b1c3894d22;hpb=8a0ab373363c34daf5d926e951ee79fc422fdb3d;p=dcpomatic.git diff --git a/src/wx/video_panel.h b/src/wx/video_panel.h index 2e394e4fc..81e65d820 100644 --- a/src/wx/video_panel.h +++ b/src/wx/video_panel.h @@ -1,5 +1,5 @@ /* - Copyright (C) 2012-2018 Carl Hetherington + Copyright (C) 2012-2021 Carl Hetherington This file is part of DCP-o-matic. @@ -18,21 +18,27 @@ */ + /** @file src/lib/video_panel.h * @brief VideoPanel class. */ + #include "content_sub_panel.h" #include "content_widget.h" #include "timecode.h" #include "lib/film.h" +#include "lib/video_frame_type.h" + +class CheckBox; +class wxButton; class wxChoice; -class wxStaticText; class wxSpinCtrl; -class wxButton; +class wxStaticText; class wxToggleButton; + /** @class VideoPanel * @brief The video tab of the film editor. */ @@ -41,9 +47,10 @@ class VideoPanel : public ContentSubPanel public: explicit VideoPanel (ContentPanel *); - void film_changed (Film::Property); - void film_content_changed (int); - void content_selection_changed (); + void create () override; + void film_changed (Film::Property) override; + void film_content_changed (int) override; + void content_selection_changed () override; private: void reference_clicked (); @@ -52,7 +59,7 @@ private: void range_changed (); void fade_in_changed (); void fade_out_changed (); - void add_to_grid (); + void add_to_grid () override; void scale_fit_clicked (); void scale_custom_clicked (); bool scale_custom_edit_clicked (); @@ -66,7 +73,7 @@ private: void setup_description (); void setup_sensitivity (); - wxCheckBox* _reference; + CheckBox* _reference; wxStaticText* _reference_note; wxStaticText* _type_label; ContentChoice* _frame_type;