Initial UI / backend storage.
[dcpomatic.git] / src / wx / timing_panel.h
index d9696a20135671a711fe27a14bc2bd5565df237a..00b7f84e75f63e09b13a38a8afa1cfc8bc2f1971 100644 (file)
 
 */
 
-#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 (int);
        void content_selection_changed ();
@@ -38,11 +37,11 @@ private:
        void video_frame_rate_changed ();
        void set_video_frame_rate ();
        
-       Timecode* _position;
-       Timecode* _full_length;
-       Timecode* _trim_start;
-       Timecode* _trim_end;
-       Timecode* _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;
 };