WIP
This commit is contained in:
parent
6638407ff9
commit
3de8fe0f87
21 changed files with 675 additions and 694 deletions
|
@ -19,8 +19,8 @@ use crate::{
|
|||
platform,
|
||||
platform::Platform,
|
||||
util::CwdBacktrace,
|
||||
AppContext, Element, ElementBox, Entity, FontCache, Handle, RenderContext, Subscription,
|
||||
TestAppContext, View,
|
||||
AppContext, Element, ElementBox, Entity, FontCache, Handle, Subscription, TestAppContext, View,
|
||||
ViewContext,
|
||||
};
|
||||
|
||||
#[cfg(test)]
|
||||
|
@ -240,7 +240,7 @@ impl View for EmptyView {
|
|||
"empty view"
|
||||
}
|
||||
|
||||
fn render(&mut self, _: &mut RenderContext<Self>) -> ElementBox {
|
||||
fn render(&mut self, _: &mut ViewContext<Self>) -> ElementBox<Self> {
|
||||
Element::boxed(Empty::new())
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue