From c77dabbe4e6bb031edf4aa82f5e890fe605bafe1 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sun, 26 May 2013 00:21:53 +0100 Subject: Add unfinished timing tab; fix crash on reconstruction of timeline; fix lack of black / silence at end of films. --- src/wx/timecode.h | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 src/wx/timecode.h (limited to 'src/wx/timecode.h') diff --git a/src/wx/timecode.h b/src/wx/timecode.h new file mode 100644 index 000000000..f243ee0b8 --- /dev/null +++ b/src/wx/timecode.h @@ -0,0 +1,36 @@ +/* + Copyright (C) 2013 Carl Hetherington + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + +*/ + +#include +#include "lib/types.h" + +class Timecode : public wxPanel +{ +public: + Timecode (wxWindow *); + + void set (Time, int); + Time get (int) const; + +private: + wxTextCtrl* _hours; + wxTextCtrl* _minutes; + wxTextCtrl* _seconds; + wxTextCtrl* _frames; +}; -- cgit v1.2.3