summaryrefslogtreecommitdiff
path: root/src/wx/timeline.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2019-11-05 23:51:20 +0100
committerCarl Hetherington <cth@carlh.net>2020-01-08 21:56:47 +0100
commit694a9f48880efd428c8137e975de3581ad0a75a9 (patch)
tree577296e45dbfd2e0c93e2d55ab82d4909a9a6ae5 /src/wx/timeline.h
parent15e82df97cc99b94a7028313dff4eba213ecd84d (diff)
Remove PositionChanged in favour of consumers having their own GUI-thread timers.
Diffstat (limited to 'src/wx/timeline.h')
-rw-r--r--src/wx/timeline.h4
1 files changed, 2 insertions, 2 deletions
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<TimelineView> 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;
};