X-Git-Url: https://main.carlh.net/gitweb/?p=dcpomatic.git;a=blobdiff_plain;f=src%2Fwx%2Ftimeline.h;h=44a8973716bdd3dca7f3df7fe761f5fd1a019f40;hp=ef887dab8242878563dde77e08dd4a53d32d4caf;hb=694a9f48880efd428c8137e975de3581ad0a75a9;hpb=15e82df97cc99b94a7028313dff4eba213ecd84d diff --git a/src/wx/timeline.h b/src/wx/timeline.h index ef887dab8..44a897371 100644 --- a/src/wx/timeline.h +++ b/src/wx/timeline.h @@ -104,7 +104,7 @@ private: void set_pixels_per_second (double pps); void set_pixels_per_track (int h); void zoom_all (); - void position_change (); + void update_playhead (); boost::shared_ptr event_to_view (wxMouseEvent &); TimelineContentViewList selected_views () const; @@ -137,11 +137,11 @@ private: int _y_scroll_rate; int _pixels_per_track; bool _first_resize; + wxTimer _timer; static double const _minimum_pixels_per_second; static int const _minimum_pixels_per_track; boost::signals2::scoped_connection _film_changed_connection; boost::signals2::scoped_connection _film_content_change_connection; - boost::signals2::scoped_connection _viewer_position_change_connection; };