summaryrefslogtreecommitdiffstats
path: root/examples/tour/src/iced_ggez/widget.rs
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2019-09-19 18:47:01 +0200
committerLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2019-09-19 19:00:42 +0200
commitb83a4b42dd912b5f59d40e7d4f7f7ccdabc43019 (patch)
tree58cb04c5e6be38422c8767cabba938edc4988b75 /examples/tour/src/iced_ggez/widget.rs
parentf9de39ddaa3020a9585b1648afb0ead45dfd7aa9 (diff)
downloadiced-b83a4b42dd912b5f59d40e7d4f7f7ccdabc43019.tar.gz
iced-b83a4b42dd912b5f59d40e7d4f7f7ccdabc43019.tar.bz2
iced-b83a4b42dd912b5f59d40e7d4f7f7ccdabc43019.zip
Remove generic `Color` in widgets
Diffstat (limited to 'examples/tour/src/iced_ggez/widget.rs')
-rw-r--r--examples/tour/src/iced_ggez/widget.rs7
1 files changed, 3 insertions, 4 deletions
diff --git a/examples/tour/src/iced_ggez/widget.rs b/examples/tour/src/iced_ggez/widget.rs
index a365daca..c9f857f6 100644
--- a/examples/tour/src/iced_ggez/widget.rs
+++ b/examples/tour/src/iced_ggez/widget.rs
@@ -1,10 +1,9 @@
use super::Renderer;
-pub use iced::{button, slider, text, Align, Button, Color, Slider};
+pub use iced::{
+ button, slider, text, Align, Button, Checkbox, Color, Radio, Slider, Text,
+};
-pub type Text = iced::Text<Color>;
-pub type Checkbox<Message> = iced::Checkbox<Color, Message>;
-pub type Radio<Message> = iced::Radio<Color, Message>;
pub type Image<'a> = iced::Image<&'a str>;
pub type Column<'a, Message> = iced::Column<'a, Message, Renderer<'a>>;