summaryrefslogtreecommitdiff
path: root/src/wx/timecode.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2013-05-27 21:54:50 +0100
committerCarl Hetherington <cth@carlh.net>2013-05-27 21:54:50 +0100
commit6166c045a8de42edd09924fdd995a77a3b753e54 (patch)
tree91da3177d9802c0b9da84607eb3c3831ffc975b5 /src/wx/timecode.h
parenta4642b6463430175d0f4e1ca284a4bf08bcf4de9 (diff)
Support for keeping video in sequence when changing lengths; tie selection in timeline with that in the editor.
Diffstat (limited to 'src/wx/timecode.h')
-rw-r--r--src/wx/timecode.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/wx/timecode.h b/src/wx/timecode.h
index f243ee0b8..9b6fe6654 100644
--- a/src/wx/timecode.h
+++ b/src/wx/timecode.h
@@ -17,6 +17,7 @@
*/
+#include <boost/signals2.hpp>
#include <wx/wx.h>
#include "lib/types.h"
@@ -28,9 +29,15 @@ public:
void set (Time, int);
Time get (int) const;
+ boost::signals2::signal<void ()> Changed;
+
private:
+ void changed (wxCommandEvent &);
+
wxTextCtrl* _hours;
wxTextCtrl* _minutes;
wxTextCtrl* _seconds;
wxTextCtrl* _frames;
+
+ bool _in_set;
};