*/
-#include "film_editor_panel.h"
+#include "content_sub_panel.h"
class Timecode;
-class TimingPanel : public FilmEditorPanel
+class TimingPanel : public ContentSubPanel
{
public:
- TimingPanel (FilmEditor *);
+ TimingPanel (ContentPanel *);
- void film_content_changed (
- boost::shared_ptr<Content>,
- boost::shared_ptr<SubtitleContent>,
- boost::shared_ptr<FFmpegContent>,
- int);
+ 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 ();
- 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;
};