Merge master.
[dcpomatic.git] / src / wx / timing_panel.h
index 7fea45eb5c4982ead55940d3cced32f83a978053..b531db5512ed3974da1ed253878cc45dbe7d86d5 100644 (file)
 
 */
 
-#include "film_editor_panel.h"
+#include "content_sub_panel.h"
 
-class DCPTimecode;
+class Timecode;
 
-class TimingPanel : public FilmEditorPanel
+class TimingPanel : public ContentSubPanel
 {
 public:
-       TimingPanel (FilmEditor *);
+       TimingPanel (ContentPanel *);
 
        void film_content_changed (int);
        void content_selection_changed ();
@@ -35,10 +35,14 @@ private:
        void trim_start_changed ();
        void trim_end_changed ();
        void play_length_changed ();
+       void video_frame_rate_changed ();
+       void set_video_frame_rate ();
        
-       DCPTimecode* _position;
-       DCPTimecode* _full_length;
-       DCPTimecode* _trim_start;
-       DCPTimecode* _trim_end;
-       DCPTimecode* _play_length;
+       Timecode* _position;
+       Timecode* _full_length;
+       Timecode* _trim_start;
+       Timecode* _trim_end;
+       Timecode* _play_length;
+       wxTextCtrl* _video_frame_rate;
+       wxButton* _set_video_frame_rate;
 };