aboutsummaryrefslogtreecommitdiffstats
path: root/default-plugins/sequence/src/state/layout.rs
blob: 6b070778515a12bd104970b8fa5337a37ae96525 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
pub struct Layout {
    pub spinner_frame: usize,
    pub spinner_timer_scheduled: bool,
}

impl Layout {
    pub fn new() -> Self {
        Self {
            spinner_frame: 0,
            spinner_timer_scheduled: false,
        }
    }
}

impl Default for Layout {
    fn default() -> Self {
        Self::new()
    }
}