X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Ftiming_panel.h;h=5f7095d8c369ff2eee2d887e436be178e1886c86;hb=86346ad4f67810e1dadad5d22fbc676b02c7faa7;hp=0aaabcc659acc51fc2d66f7ccf47a41c5bec6609;hpb=eceeb0c13cdaf08204968047269b49d8d493f741;p=dcpomatic.git diff --git a/src/wx/timing_panel.h b/src/wx/timing_panel.h index 0aaabcc65..5f7095d8c 100644 --- a/src/wx/timing_panel.h +++ b/src/wx/timing_panel.h @@ -17,26 +17,34 @@ */ -#include "film_editor_panel.h" +#include "content_sub_panel.h" +#include "timecode.h" -class Timecode; - -class TimingPanel : public FilmEditorPanel +class TimingPanel : public ContentSubPanel { public: - TimingPanel (FilmEditor *); + TimingPanel (ContentPanel *); - void film_content_changed ( - boost::shared_ptr, - boost::shared_ptr, - boost::shared_ptr, - boost::shared_ptr, - int); + void film_changed (Film::Property); + void film_content_changed (int); + void content_selection_changed (); private: - void start_changed (); - void length_changed (); + void position_changed (); + void full_length_changed (); + void trim_start_changed (); + void trim_end_changed (); + void play_length_changed (); + void video_frame_rate_changed (); + void set_video_frame_rate (); + void update_full_length (); + void update_play_length (); - Timecode* _start; - Timecode* _length; + Timecode* _position; + Timecode* _full_length; + Timecode* _trim_start; + Timecode* _trim_end; + Timecode* _play_length; + wxTextCtrl* _video_frame_rate; + wxButton* _set_video_frame_rate; };