Skip to content

Commit

Permalink
Implement the "Advanced" feature set from Iced.
Browse files Browse the repository at this point in the history
This commit intends to implement a majority of the functionality needed
when creating custom `iced` widgets.
  • Loading branch information
SolidStateDj committed Jun 6, 2024
1 parent 87f7eaa commit de375ec
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
19 changes: 19 additions & 0 deletions src/advanced.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
//! Leverage advanced concepts like custom widgets.
// pub use crate::application::Application;
pub use iced_core::clipboard::{self, Clipboard};
pub use iced_core::image;
pub use iced_core::layout::{self, Layout};
pub use iced_core::mouse;
pub use iced_core::overlay::{self, Overlay};
pub use iced_core::renderer::{self, Renderer};
pub use iced_core::svg;
pub use iced_core::text::{self, Text};
pub use iced_core::widget::{self, Widget};
pub use iced_core::Hasher;
pub use iced_core::Shell;
pub use iced_renderer::graphics;

// pub mod subscription {
// //! Write your own subscriptions.
// pub use iced_runtime::futures::subscription::{EventStream, Hasher, Recipe};
// }
1 change: 1 addition & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ use iced_widget::style::Theme;
/// as much as possible.
pub mod iced;

pub mod advanced;
mod conversions;
mod render;
mod systems;
Expand Down

0 comments on commit de375ec

Please sign in to comment.