Write renderer docs and fix broken links
This commit is contained in:
parent
268a5f0017
commit
fafad2dfca
12 changed files with 62 additions and 45 deletions
|
|
@ -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) {}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue