Introduce selector flag and decouple iced_widget from iced_runtime

This commit is contained in:
Héctor Ramón Jiménez 2025-08-23 05:15:57 +02:00
parent 34a42b5ad4
commit 81d1eda7fe
No known key found for this signature in database
GPG key ID: 7CC46565708259A7
22 changed files with 118 additions and 67 deletions

View file

@ -34,7 +34,6 @@ use crate::core::{
Padding, Pixels, Rectangle, Shadow, Shell, Size, Theme, Vector, Widget,
color,
};
use crate::runtime::Task;
/// A widget that aligns its contents inside of its boundaries.
///
@ -457,12 +456,6 @@ pub fn draw_background<Renderer>(
}
}
/// Produces a [`Task`] that queries the visible screen bounds of the
/// [`Container`] with the given [`widget::Id`].
pub fn visible_bounds(_id: impl Into<widget::Id>) -> Task<Option<Rectangle>> {
todo!()
}
/// The appearance of a container.
#[derive(Debug, Clone, Copy, PartialEq, Default)]
pub struct Style {