summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2021-10-31 15:35:12 +0700
committerLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2021-10-31 16:14:34 +0700
commit0aafcde0ef1533c9eeba0379de8c0082e30c7504 (patch)
treeec1a6e47a5f97f9893da58ed276c71f8c93f305c /examples
parente5e477aa692e33eb639e4d3acbc073fdb47f9c9a (diff)
downloadiced-0aafcde0ef1533c9eeba0379de8c0082e30c7504.tar.gz
iced-0aafcde0ef1533c9eeba0379de8c0082e30c7504.tar.bz2
iced-0aafcde0ef1533c9eeba0379de8c0082e30c7504.zip
Remove `widget` module re-exports in `iced_native`
Diffstat (limited to 'examples')
-rw-r--r--examples/integration_opengl/src/controls.rs8
-rw-r--r--examples/integration_wgpu/src/controls.rs7
2 files changed, 6 insertions, 9 deletions
diff --git a/examples/integration_opengl/src/controls.rs b/examples/integration_opengl/src/controls.rs
index fa5aa91d..f387b4e5 100644
--- a/examples/integration_opengl/src/controls.rs
+++ b/examples/integration_opengl/src/controls.rs
@@ -1,9 +1,7 @@
use iced_glow::Renderer;
-use iced_glutin::slider;
-use iced_glutin::{
- Alignment, Color, Column, Command, Element, Length, Program, Row, Slider,
- Text,
-};
+use iced_glutin::widget::slider::{self, Slider};
+use iced_glutin::widget::{Column, Row, Text};
+use iced_glutin::{Alignment, Color, Command, Element, Length, Program};
pub struct Controls {
background_color: Color,
diff --git a/examples/integration_wgpu/src/controls.rs b/examples/integration_wgpu/src/controls.rs
index 414eb9ce..4f110bd2 100644
--- a/examples/integration_wgpu/src/controls.rs
+++ b/examples/integration_wgpu/src/controls.rs
@@ -1,8 +1,7 @@
use iced_wgpu::Renderer;
-use iced_winit::{
- slider, Alignment, Color, Column, Command, Element, Length, Program, Row,
- Slider, Text,
-};
+use iced_winit::widget::slider::{self, Slider};
+use iced_winit::widget::{Column, Row, Text};
+use iced_winit::{Alignment, Color, Command, Element, Length, Program};
pub struct Controls {
background_color: Color,