swaroop: remove on-screen log from player.
[dcpomatic.git] / src / wx / timecode.h
index 18eddfdb4a19b72fa2eb854e46b53f01e0d453fc..31ddd111caec3aa17538122100dad3b42713389a 100644 (file)
@@ -1,5 +1,5 @@
 /*
-    Copyright (C) 2013-2015 Carl Hetherington <cth@carlh.net>
+    Copyright (C) 2013-2016 Carl Hetherington <cth@carlh.net>
 
     This file is part of DCP-o-matic.
 
 class TimecodeBase : public wxPanel
 {
 public:
-       TimecodeBase (wxWindow *);
+       TimecodeBase (wxWindow *, bool set_button);
 
        void clear ();
 
        void set_editable (bool);
+       void set_focus ();
 
        boost::signals2::signal<void ()> Changed;
 
@@ -58,8 +59,8 @@ template <class T>
 class Timecode : public TimecodeBase
 {
 public:
-       Timecode (wxWindow* parent)
-               : TimecodeBase (parent)
+       Timecode (wxWindow* parent, bool set_button = true)
+               : TimecodeBase (parent, set_button)
        {
 
        }