Fix non-frame-aligned trims when using trim-to-playhead.
[dcpomatic.git] / src / wx / film_viewer.h
index c9f25fa65dab2f67a397491fdf6072897376f955..aa588b92607d9a3922c1d7a03f70a19a348d603b 100644 (file)
@@ -1,5 +1,5 @@
 /*
-    Copyright (C) 2012-2016 Carl Hetherington <cth@carlh.net>
+    Copyright (C) 2012-2017 Carl Hetherington <cth@carlh.net>
 
     This file is part of DCP-o-matic.
 
@@ -41,6 +41,7 @@ public:
 
        void set_film (boost::shared_ptr<Film>);
 
+       /** @return our `playhead' position; this may not lie exactly on a frame boundary */
        DCPTime position () const {
                return _position;
        }
@@ -71,6 +72,9 @@ private:
        void setup_sensitivity ();
        void film_changed (Film::Property);
        DCPTime nudge_amount (wxMouseEvent &);
+       void timecode_clicked ();
+       void frame_number_clicked ();
+       void go_to (DCPTime t);
 
        boost::shared_ptr<Film> _film;
        boost::shared_ptr<Player> _player;