Remove generic Color in widgets
This commit is contained in:
parent
f9de39ddaa
commit
b83a4b42dd
12 changed files with 83 additions and 120 deletions
|
|
@ -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>>;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue