Introduce explicit image::allocate API
This commit is contained in:
parent
6fa54f7f6b
commit
23039e758e
15 changed files with 355 additions and 51 deletions
|
|
@ -625,6 +625,13 @@ pub mod widget {
|
|||
pub use iced_runtime::widget::*;
|
||||
pub use iced_widget::*;
|
||||
|
||||
#[cfg(feature = "image")]
|
||||
pub mod image {
|
||||
//! Images display raster graphics in different formats (PNG, JPG, etc.).
|
||||
pub use iced_runtime::image::{Allocation, allocate};
|
||||
pub use iced_widget::image::*;
|
||||
}
|
||||
|
||||
// We hide the re-exported modules by `iced_widget`
|
||||
mod core {}
|
||||
mod graphics {}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue