Create iced_widget subcrate and re-organize the whole codebase
This commit is contained in:
parent
c54409d171
commit
3a0d34c024
209 changed files with 1959 additions and 2183 deletions
|
|
@ -16,7 +16,7 @@ pub use stroke::{LineCap, LineDash, LineJoin, Stroke};
|
|||
pub use style::Style;
|
||||
pub use text::Text;
|
||||
|
||||
pub use iced_native::gradient::{self, Gradient};
|
||||
pub use iced_core::gradient::{self, Gradient};
|
||||
|
||||
use crate::Primitive;
|
||||
|
||||
|
|
@ -29,7 +29,7 @@ impl From<Geometry> for Primitive {
|
|||
}
|
||||
}
|
||||
|
||||
pub trait Renderer: iced_native::Renderer {
|
||||
pub trait Renderer: iced_core::Renderer {
|
||||
type Geometry;
|
||||
|
||||
fn draw(&mut self, geometry: Vec<Self::Geometry>);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue