projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Basic stress-test function for player.
[dcpomatic.git]
/
src
/
wx
/
controls.cc
diff --git
a/src/wx/controls.cc
b/src/wx/controls.cc
index 0c12ba4634cd06c69a6bd2a095883fd842deb70a..27139f1f5a8608b2b6c63c71e711863033373a34 100644
(file)
--- a/
src/wx/controls.cc
+++ b/
src/wx/controls.cc
@@
-406,3
+406,13
@@
Controls::film_change (ChangeType type, Film::Property p)
}
}
}
+
+#ifdef DCPOMATIC_PLAYER_STRESS_TEST
+void
+Controls::seek (int slider)
+{
+ _slider->SetValue (slider);
+ slider_moved (false);
+ slider_released ();
+}
+#endif