Move widgets from core to native and web
Also made fields private and improved `Renderer` traits.
This commit is contained in:
parent
d3553adf27
commit
65eb218d3d
59 changed files with 2455 additions and 1942 deletions
|
|
@ -1,5 +1,5 @@
|
|||
#[cfg_attr(target_arch = "wasm32", path = "web.rs")]
|
||||
#[cfg_attr(not(target_arch = "wasm32"), path = "winit.rs")]
|
||||
#[cfg_attr(not(target_arch = "wasm32"), path = "native.rs")]
|
||||
mod platform;
|
||||
|
||||
pub use platform::*;
|
||||
|
|
@ -34,7 +34,7 @@ impl<A> iced_winit::Application for Instance<A>
|
|||
where
|
||||
A: Application,
|
||||
{
|
||||
type Renderer = Renderer;
|
||||
type Renderer = iced_wgpu::Renderer;
|
||||
type Message = A::Message;
|
||||
|
||||
fn new() -> (Self, Command<A::Message>) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue