X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Ftimecode.h;h=b13e8c3c084b9c35514e805f59e752927fe46ae1;hb=3574212ee42b2bd924eb95d5c0f4f69ec9e0a2f0;hp=9b6fe66542e9fec1c1bc8d15d26ccd1c7133fbc6;hpb=883d885dc8690519d205c8baa275385af8a39f4b;p=dcpomatic.git diff --git a/src/wx/timecode.h b/src/wx/timecode.h index 9b6fe6654..b13e8c3c0 100644 --- a/src/wx/timecode.h +++ b/src/wx/timecode.h @@ -26,18 +26,24 @@ class Timecode : public wxPanel public: Timecode (wxWindow *); - void set (Time, int); - Time get (int) const; + void set (DCPTime, int); + DCPTime get (int) const; + + void set_editable (bool); boost::signals2::signal Changed; private: - void changed (wxCommandEvent &); + void changed (); + void set_clicked (); + wxSizer* _sizer; + wxPanel* _editable; wxTextCtrl* _hours; wxTextCtrl* _minutes; wxTextCtrl* _seconds; wxTextCtrl* _frames; - - bool _in_set; + wxButton* _set_button; + wxStaticText* _fixed; }; +