Implement radio::Renderer and slider::Renderer in ggez example

This commit is contained in:
Héctor Ramón Jiménez 2019-07-23 12:07:00 +02:00
parent f007929b9c
commit 8f6ea4bdc9
5 changed files with 156 additions and 1 deletions

View file

@ -1,6 +1,13 @@
use super::Renderer;
use ggez::graphics::Color;
pub use iced::{button, Button, Column, Row};
pub use iced::{button, slider, Button, Slider};
pub type Text = iced::Text<Color>;
pub type Checkbox<Message> = iced::Checkbox<Color, Message>;
pub type Radio<Message> = iced::Radio<Color, Message>;
pub type Column<'a, Message> = iced::Column<'a, Message, Renderer<'a>>;
pub type Row<'a, Message> = iced::Row<'a, Message, Renderer<'a>>;
pub type Element<'a, Message> = iced::Element<'a, Message, Renderer<'a>>;