Write renderer docs and fix broken links

This commit is contained in:
Héctor Ramón Jiménez 2019-08-29 01:28:00 +02:00
parent 268a5f0017
commit fafad2dfca
12 changed files with 62 additions and 45 deletions

View file

@ -4,7 +4,7 @@ mod radio;
mod slider;
mod text;
use ggez::graphics::{self, spritebatch::SpriteBatch, Color, Image};
use ggez::graphics::{self, spritebatch::SpriteBatch, Image};
use ggez::Context;
pub struct Renderer<'a> {
@ -39,9 +39,3 @@ impl Renderer<'_> {
.expect("Draw text");
}
}
impl iced::Renderer for Renderer<'_> {
type Color = Color;
fn explain(&mut self, _layout: &iced::Layout<'_>, _color: Color) {}
}