Wire mouse_motion_event to Runtime
This commit is contained in:
parent
f6f7505b9d
commit
f007929b9c
2 changed files with 18 additions and 8 deletions
|
|
@ -94,15 +94,11 @@ impl<'a, Message, Renderer> Interface<'a, Message, Renderer> {
|
|||
messages
|
||||
}
|
||||
|
||||
pub fn draw(
|
||||
&self,
|
||||
renderer: &mut Renderer,
|
||||
cursor_position: Point,
|
||||
) -> MouseCursor {
|
||||
pub fn draw(&self, renderer: &mut Renderer) -> MouseCursor {
|
||||
let cursor = self.root.widget.draw(
|
||||
renderer,
|
||||
Layout::new(self.layout),
|
||||
cursor_position,
|
||||
self.cursor_position,
|
||||
);
|
||||
|
||||
cursor
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue