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
|
|
@ -1,16 +1,17 @@
|
|||
mod atlas;
|
||||
|
||||
#[cfg(feature = "image")]
|
||||
use iced_graphics::image::raster;
|
||||
|
||||
#[cfg(feature = "svg")]
|
||||
use iced_graphics::image::vector;
|
||||
|
||||
use crate::layer;
|
||||
use crate::{Buffer, Transformation};
|
||||
use atlas::Atlas;
|
||||
|
||||
use iced_native::{Rectangle, Size};
|
||||
use crate::core::{Rectangle, Size};
|
||||
use crate::graphics::Transformation;
|
||||
use crate::layer;
|
||||
use crate::Buffer;
|
||||
|
||||
#[cfg(feature = "image")]
|
||||
use crate::graphics::image::raster;
|
||||
|
||||
#[cfg(feature = "svg")]
|
||||
use crate::graphics::image::vector;
|
||||
|
||||
use std::cell::RefCell;
|
||||
use std::mem;
|
||||
|
|
@ -18,10 +19,10 @@ use std::mem;
|
|||
use bytemuck::{Pod, Zeroable};
|
||||
|
||||
#[cfg(feature = "image")]
|
||||
use iced_native::image;
|
||||
use crate::core::image;
|
||||
|
||||
#[cfg(feature = "svg")]
|
||||
use iced_native::svg;
|
||||
use crate::core::svg;
|
||||
|
||||
#[cfg(feature = "tracing")]
|
||||
use tracing::info_span;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue