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,7 +1,6 @@
|
|||
pub use iced_native::text::Hit;
|
||||
|
||||
use iced_native::alignment;
|
||||
use iced_native::{Color, Font, Rectangle, Size};
|
||||
use crate::core::alignment;
|
||||
use crate::core::text::Hit;
|
||||
use crate::core::{Color, Font, Point, Rectangle, Size};
|
||||
|
||||
use rustc_hash::{FxHashMap, FxHashSet};
|
||||
use std::borrow::Cow;
|
||||
|
|
@ -189,8 +188,8 @@ impl Pipeline {
|
|||
content: &str,
|
||||
size: f32,
|
||||
font: iced_native::Font,
|
||||
bounds: iced_native::Size,
|
||||
point: iced_native::Point,
|
||||
bounds: Size,
|
||||
point: Point,
|
||||
_nearest_only: bool,
|
||||
) -> Option<Hit> {
|
||||
self.system.as_ref().unwrap().with(|fields| {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue