projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove old Connect() wxWidgets API and use Bind().
[dcpomatic.git]
/
src
/
wx
/
timecode.h
diff --git
a/src/wx/timecode.h
b/src/wx/timecode.h
index f243ee0b8d219c8ebeb94d68e9a0be956b44bcaa..bebfa3f5f8d2f00c3cdea476a5b7e6fde8f9b9ae 100644
(file)
--- 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"
#include <wx/wx.h>
#include "lib/types.h"
@@
-28,9
+29,16
@@
public:
void set (Time, int);
Time get (int) const;
void set (Time, int);
Time get (int) const;
+ boost::signals2::signal<void ()> Changed;
+
private:
private:
+ void changed ();
+ void set_clicked ();
+
wxTextCtrl* _hours;
wxTextCtrl* _minutes;
wxTextCtrl* _seconds;
wxTextCtrl* _frames;
wxTextCtrl* _hours;
wxTextCtrl* _minutes;
wxTextCtrl* _seconds;
wxTextCtrl* _frames;
+ wxButton* _set_button;
};
};
+