adapt to latest iced (Widget::draw accepts a mouse::Cursor)
Signed-off-by: Fabrizio Iannetti <fabrizio.iannetti@gmail.com>
This commit is contained in:
parent
36d3ce3a09
commit
f8e5887f24
|
@ -15,6 +15,7 @@ use iced::advanced::text::{self, Text, LineHeight, Shaping};
|
||||||
use chrono::{NaiveDate, Datelike, Duration, Local};
|
use chrono::{NaiveDate, Datelike, Duration, Local};
|
||||||
use super::basics::CellGrid;
|
use super::basics::CellGrid;
|
||||||
use crate::model::events::EventsCollection;
|
use crate::model::events::EventsCollection;
|
||||||
|
use iced::mouse;
|
||||||
|
|
||||||
#[cfg(feature = "tracing")]
|
#[cfg(feature = "tracing")]
|
||||||
extern crate lttng_ust;
|
extern crate lttng_ust;
|
||||||
|
@ -392,7 +393,7 @@ where
|
||||||
_theme: &Renderer::Theme,
|
_theme: &Renderer::Theme,
|
||||||
_style: &renderer::Style,
|
_style: &renderer::Style,
|
||||||
layout: layout::Layout<'_>,
|
layout: layout::Layout<'_>,
|
||||||
_cursor_position: Point,
|
_cursor: mouse::Cursor,
|
||||||
_viewport: &Rectangle,
|
_viewport: &Rectangle,
|
||||||
) {
|
) {
|
||||||
let bounds = layout.bounds();
|
let bounds = layout.bounds();
|
||||||
|
@ -721,7 +722,7 @@ where
|
||||||
_theme: &Renderer::Theme,
|
_theme: &Renderer::Theme,
|
||||||
_style: &renderer::Style,
|
_style: &renderer::Style,
|
||||||
layout: layout::Layout<'_>,
|
layout: layout::Layout<'_>,
|
||||||
_cursor_position: Point,
|
_cursor: mouse::Cursor,
|
||||||
_viewport: &Rectangle,
|
_viewport: &Rectangle,
|
||||||
) {
|
) {
|
||||||
let bounds = layout.bounds();
|
let bounds = layout.bounds();
|
||||||
|
|
Loading…
Reference in New Issue