mirror of
https://codeberg.org/unspeaker/tek.git
synced 2025-12-07 12:16:42 +01:00
wip: refactor pt.28: 16 errors
This commit is contained in:
parent
4522ebaa4b
commit
ceead4131c
7 changed files with 84 additions and 62 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue