projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
swaroop: remove on-screen log from player.
[dcpomatic.git]
/
src
/
wx
/
timecode.h
diff --git
a/src/wx/timecode.h
b/src/wx/timecode.h
index 18eddfdb4a19b72fa2eb854e46b53f01e0d453fc..31ddd111caec3aa17538122100dad3b42713389a 100644
(file)
--- a/
src/wx/timecode.h
+++ b/
src/wx/timecode.h
@@
-1,5
+1,5
@@
/*
/*
- Copyright (C) 2013-201
5
Carl Hetherington <cth@carlh.net>
+ Copyright (C) 2013-201
6
Carl Hetherington <cth@carlh.net>
This file is part of DCP-o-matic.
This file is part of DCP-o-matic.
@@
-30,11
+30,12
@@
class TimecodeBase : public wxPanel
{
public:
class TimecodeBase : public wxPanel
{
public:
- TimecodeBase (wxWindow *);
+ TimecodeBase (wxWindow *
, bool set_button
);
void clear ();
void set_editable (bool);
void clear ();
void set_editable (bool);
+ void set_focus ();
boost::signals2::signal<void ()> Changed;
boost::signals2::signal<void ()> Changed;
@@
-58,8
+59,8
@@
template <class T>
class Timecode : public TimecodeBase
{
public:
class Timecode : public TimecodeBase
{
public:
- Timecode (wxWindow* parent)
- : TimecodeBase (parent)
+ Timecode (wxWindow* parent
, bool set_button = true
)
+ : TimecodeBase (parent
, set_button
)
{
}
{
}