Merge master.
[dcpomatic.git] / src / wx / timecode.h
index 6a8bf03df3d19a33206b68098bb9790e34a0345b..72b00ddeb4867065943d41b7ca41ad1295d632a8 100644 (file)
 #include <wx/wx.h>
 #include "lib/types.h"
 
-class DCPTimecode : public wxPanel
+class Timecode : public wxPanel
 {
 public:
-       DCPTimecode (wxWindow *);
+       Timecode (wxWindow *);
 
        void set (DCPTime, int);
        DCPTime get (int) const;
+       void clear ();
 
        void set_editable (bool);
 
@@ -40,7 +41,6 @@ private:
        wxSizer* _sizer;
        wxPanel* _editable;
        wxTextCtrl* _hours;
-       wxStaticText* _hours_label;
        wxTextCtrl* _minutes;
        wxTextCtrl* _seconds;
        wxTextCtrl* _frames;