Expose Timer API to rust API

And use it in the puzzle demo to implement the auto play mode
This commit is contained in:
Olivier Goffart 2020-11-16 12:14:27 +01:00
parent eadfdbe5fb
commit 0672f4b3cd
5 changed files with 66 additions and 4 deletions

View file

@ -156,6 +156,7 @@ pub use sixtyfps_corelib::model::{
};
pub use sixtyfps_corelib::sharedarray::SharedArray;
pub use sixtyfps_corelib::string::SharedString;
pub use sixtyfps_corelib::timers::{Timer, TimerMode};
pub use sixtyfps_corelib::{ARGBColor, Color};
/// internal re_exports used by the macro generated