X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Ftimecode.h;h=72b00ddeb4867065943d41b7ca41ad1295d632a8;hb=946dbad9821e676f1d8fdc5abba459da54b8e84c;hp=ca6deb9692a033085f0e5f5bba26663385f6aca2;hpb=91273da19c689e44f3baa368d4b4efbe75cd8fe5;p=dcpomatic.git diff --git a/src/wx/timecode.h b/src/wx/timecode.h index ca6deb969..72b00ddeb 100644 --- a/src/wx/timecode.h +++ b/src/wx/timecode.h @@ -26,19 +26,25 @@ class Timecode : public wxPanel public: Timecode (wxWindow *); - void set (Time, int); - Time get (int) const; + void set (DCPTime, int); + DCPTime get (int) const; + void clear (); + + void set_editable (bool); boost::signals2::signal Changed; private: - void changed (wxCommandEvent &); - void set_clicked (wxCommandEvent &); + void changed (); + void set_clicked (); + wxSizer* _sizer; + wxPanel* _editable; wxTextCtrl* _hours; wxTextCtrl* _minutes; wxTextCtrl* _seconds; wxTextCtrl* _frames; wxButton* _set_button; + wxStaticText* _fixed; };