blob: a29a3d49d543efd787a7d2b1984a2bda1b3677a7 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
use crate::{Primitive, Renderer};
use iced_native::{image, Image, Layout, MouseCursor, Node, Style};
impl image::Renderer<&str> for Renderer {
fn node(&self, _image: &Image<&str>) -> Node {
Node::new(Style::default())
}
fn draw(
&mut self,
_image: &Image<&str>,
_layout: Layout<'_>,
) -> Self::Output {
(Primitive::None, MouseCursor::OutOfBounds)
}
}
|