wip: refactor pt.28: 16 errors

This commit is contained in:
🪞👃🪞 2024-11-14 16:08:59 +01:00
parent 4522ebaa4b
commit ceead4131c
7 changed files with 84 additions and 62 deletions

View file

@ -62,7 +62,7 @@ where
pub cursor: (usize, usize),
pub entered: bool,
pub menu_bar: Option<MenuBar<E, A, C>>,
pub status_bar: Option<Box<dyn Widget<Engine = E>>>,
pub status_bar: Option<Box<dyn StatusBar<E, Self>>>,
pub history: Vec<C>,
pub size: Measure<E>,
}
@ -76,7 +76,7 @@ where
pub fn new (
app: A,
menu_bar: Option<MenuBar<E, A, C>>,
status_bar: Option<Box<dyn Widget<Engine = E>>>,
status_bar: Option<Box<dyn StatusBar<E, Self>>>,
) -> Self {
Self {
app,