summaryrefslogtreecommitdiffstats
path: root/wgpu/src/renderer/button.rs
blob: 24bc1de63ae33268178220a3ca95cbc00b807f90 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
use crate::{Primitive, Renderer};
use iced_native::{button, Button, Layout, Node, Point, Style};

impl button::Renderer for Renderer {
    fn node<Message>(&self, _button: &Button<Message>) -> Node {
        Node::new(Style::default())
    }

    fn draw<Message>(
        &mut self,
        _button: &Button<Message>,
        _layout: Layout<'_>,
        _cursor_position: Point,
    ) -> Self::Primitive {
        // TODO
        Primitive::None
    }
}