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

@ -5,7 +5,7 @@ mod style;
use grid::Grid;
use iced::executor;
use iced::pure::widget::{
use iced::pure::{
button, checkbox, column, container, pick_list, row, slider, text,
};
use iced::pure::{Application, Element};
@ -207,8 +207,8 @@ fn view_controls<'a>(
mod grid {
use crate::Preset;
use iced::pure::canvas::event::{self, Event};
use iced::pure::canvas::{
use iced::pure::widget::canvas::event::{self, Event};
use iced::pure::widget::canvas::{
self, Cache, Canvas, Cursor, Frame, Geometry, Path, Text,
};
use iced::pure::Element;