Create iced_widget subcrate and re-organize the whole codebase

This commit is contained in:
Héctor Ramón Jiménez 2023-03-04 05:37:11 +01:00
parent c54409d171
commit 3a0d34c024
No known key found for this signature in database
GPG key ID: 140CC052C94F138E
209 changed files with 1959 additions and 2183 deletions

View file

@ -1,8 +1,8 @@
//! Raster image loading and caching.
use crate::image::Storage;
use crate::Size;
use iced_native::image;
use iced_core::image;
use iced_core::Size;
use bitflags::bitflags;
use std::collections::{HashMap, HashSet};

View file

@ -1,5 +1,5 @@
//! Store images.
use crate::Size;
use iced_core::Size;
use std::fmt::Debug;

View file

@ -1,9 +1,8 @@
//! Vector image loading and caching
use crate::image::Storage;
use crate::Color;
use iced_native::svg;
use iced_native::Size;
use iced_core::svg;
use iced_core::{Color, Size};
use resvg::tiny_skia;
use resvg::usvg;