animations: implement a test animation, split out to animations module
This commit is contained in:
@@ -9,6 +9,7 @@ mod task;
|
||||
mod time;
|
||||
mod geometry;
|
||||
mod platform;
|
||||
mod animations;
|
||||
|
||||
|
||||
use crate::time::Periodically;
|
||||
@@ -103,7 +104,8 @@ fn main() {
|
||||
|
||||
log::info!("Creating runner");
|
||||
let mut runner = task::Scheduler::new(vec![
|
||||
Box::new(IdleTask::new(display.new_surface().unwrap())),
|
||||
Box::new(animations::IdleTask::new(display.new_surface().unwrap())),
|
||||
Box::new(animations::TestPattern::new(display.new_surface().unwrap())),
|
||||
Box::new(display),
|
||||
]);
|
||||
|
||||
|
Reference in New Issue
Block a user