projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Supporters update.
[dcpomatic.git]
/
src
/
wx
/
timecode.h
diff --git
a/src/wx/timecode.h
b/src/wx/timecode.h
index ccab0ecfcb1686229b8da208163bc25fa240b2d9..65b30be123d34007d6fea268f8bbdf26b1a0107e 100644
(file)
--- a/
src/wx/timecode.h
+++ b/
src/wx/timecode.h
@@
-18,16
+18,22
@@
*/
*/
+
#ifndef DCPOMATIC_WX_TIMECODE_H
#define DCPOMATIC_WX_TIMECODE_H
#ifndef DCPOMATIC_WX_TIMECODE_H
#define DCPOMATIC_WX_TIMECODE_H
+
#include "wx_util.h"
#include "lib/dcpomatic_time.h"
#include "lib/types.h"
#include <dcp/raw_convert.h>
#include "wx_util.h"
#include "lib/dcpomatic_time.h"
#include "lib/types.h"
#include <dcp/raw_convert.h>
+#include <dcp/warnings.h>
+LIBDCP_DISABLE_WARNINGS
#include <wx/wx.h>
#include <wx/wx.h>
+LIBDCP_ENABLE_WARNINGS
#include <boost/signals2.hpp>
#include <boost/signals2.hpp>
+
class TimecodeBase : public wxPanel
{
public:
class TimecodeBase : public wxPanel
{
public:
@@
-54,8
+60,11
@@
protected:
wxTextCtrl* _frames;
wxButton* _set_button;
wxStaticText* _fixed;
wxTextCtrl* _frames;
wxButton* _set_button;
wxStaticText* _fixed;
+
+ bool _ignore_changed = false;
};
};
+
template <class T>
class Timecode : public TimecodeBase
{
template <class T>
class Timecode : public TimecodeBase
{