Export widget modules in iced_pure

... and fix collisions with the new `helpers`
This commit is contained in:
Héctor Ramón Jiménez 2022-03-16 17:37:19 +07:00
parent cdd906f563
commit d7100fd259
No known key found for this signature in database
GPG key ID: 140CC052C94F138E
31 changed files with 378 additions and 232 deletions

View file

@ -1,6 +1,6 @@
use crate::overlay;
use crate::widget::tree::{self, Tree};
use crate::widget::{Element, Widget};
use crate::{Element, Widget};
use iced_native::event::{self, Event};
use iced_native::layout;
@ -10,9 +10,10 @@ use iced_native::widget::button;
use iced_native::{
Clipboard, Layout, Length, Padding, Point, Rectangle, Shell,
};
use iced_style::button::StyleSheet;
pub use button::State;
pub use iced_style::button::{Style, StyleSheet};
use button::State;
pub struct Button<'a, Message, Renderer> {
content: Element<'a, Message, Renderer>,