summaryrefslogtreecommitdiffstats
path: root/native/src/widget.rs
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2019-10-29 03:34:21 +0100
committerLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2019-10-29 03:34:21 +0100
commit9dabbf78857c3a60583227d3aa2fa6e030f085d0 (patch)
tree16356590112788fcf8914b7a60fd290384d4dd4c /native/src/widget.rs
parent6602c1517cbffbc9ff0b6052ce7288cd51eb1e67 (diff)
downloadiced-9dabbf78857c3a60583227d3aa2fa6e030f085d0.tar.gz
iced-9dabbf78857c3a60583227d3aa2fa6e030f085d0.tar.bz2
iced-9dabbf78857c3a60583227d3aa2fa6e030f085d0.zip
Provide `Renderer` to `Widget::on_event`
This allows us to implement configurable event processing that adapts to different rendering strategies.
Diffstat (limited to 'native/src/widget.rs')
-rw-r--r--native/src/widget.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/native/src/widget.rs b/native/src/widget.rs
index 0d3f6d2c..c04f3377 100644
--- a/native/src/widget.rs
+++ b/native/src/widget.rs
@@ -117,6 +117,7 @@ where
_layout: Layout<'_>,
_cursor_position: Point,
_messages: &mut Vec<Message>,
+ _renderer: &Renderer,
) {
}
}