chore: stage remaining scaffolding

This commit is contained in:
m00d 2025-10-01 12:53:20 +02:00
parent 5a8823fddb
commit 231af23d1c
14 changed files with 895 additions and 1 deletions

13
src/tui/animations/mod.rs Normal file
View file

@ -0,0 +1,13 @@
use rsille::canvas::Canvas;
use std::time::Duration;
pub trait Animation {
fn update(&mut self, delta: Duration);
fn render(&self, canvas: &mut Canvas);
fn is_finished(&self) -> bool;
}
pub trait ProgressAnimation: Animation {
fn set_progress(&mut self, progress: f64);
fn get_progress(&self) -> f64;
}