summaryrefslogtreecommitdiff
path: root/src/wx/swaroop_controls.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2020-01-08 22:22:01 +0100
committerCarl Hetherington <cth@carlh.net>2020-01-08 22:22:01 +0100
commit579d18cb7770efe2da03afaf6a33faaf624119e3 (patch)
treecc303d8c74e64fff8eb5a663941cac4455154ae9 /src/wx/swaroop_controls.h
parentdde431cafbb20ed3356ad5592be56af1d4458f46 (diff)
parent23590dc430e4ef2351209e30a26ba04fecca2872 (diff)
Merge a set of changes which run the OpenGL video updates in a separatev2.15.40
thread, hopefully making things more elegant and robust.
Diffstat (limited to 'src/wx/swaroop_controls.h')
-rw-r--r--src/wx/swaroop_controls.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/wx/swaroop_controls.h b/src/wx/swaroop_controls.h
index 11dbcfc10..a8bb41dea 100644
--- a/src/wx/swaroop_controls.h
+++ b/src/wx/swaroop_controls.h
@@ -54,7 +54,7 @@ private:
void setup_sensitivity ();
void config_changed (int);
void viewer_finished ();
- void viewer_position_changed ();
+ void write_position ();
void reset_film ();
void update_current_content ();
bool can_do_previous ();
@@ -84,4 +84,6 @@ private:
std::vector<SPL> _playlists;
boost::optional<int> _selected_playlist;
int _selected_playlist_position;
+
+ wxTimer _timer;
};