diff options
| author | Carl Hetherington <cth@carlh.net> | 2013-05-26 00:21:53 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2013-05-26 00:21:53 +0100 |
| commit | c77dabbe4e6bb031edf4aa82f5e890fe605bafe1 (patch) | |
| tree | d3a3f2f34b44eecedabc0240ea82c741b49385ba /src/wx/timecode.h | |
| parent | 996b0c06e23bcb6b300d7b8799df94993692e07d (diff) | |
Add unfinished timing tab; fix crash on reconstruction of timeline; fix lack of black / silence at end of films.
Diffstat (limited to 'src/wx/timecode.h')
| -rw-r--r-- | src/wx/timecode.h | 36 |
1 files changed, 36 insertions, 0 deletions
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 <cth@carlh.net> + + 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 <wx/wx.h> +#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; +}; |
