*/
-#include "film_editor_panel.h"
+#include "content_sub_panel.h"
+#include "timecode.h"
-class DCPTimecode;
-
-class TimingPanel : public FilmEditorPanel
+class TimingPanel : public ContentSubPanel
{
public:
- TimingPanel (FilmEditor *);
+ TimingPanel (ContentPanel *);
+ void film_changed (Film::Property);
void film_content_changed (int);
void content_selection_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 ();
- DCPTimecode* _position;
- DCPTimecode* _full_length;
- DCPTimecode* _trim_start;
- DCPTimecode* _trim_end;
- DCPTimecode* _play_length;
+ Timecode<DCPTime>* _position;
+ Timecode<DCPTime>* _full_length;
+ Timecode<DCPTime>* _trim_start;
+ Timecode<DCPTime>* _trim_end;
+ Timecode<DCPTime>* _play_length;
+ wxTextCtrl* _video_frame_rate;
+ wxButton* _set_video_frame_rate;
};