Remove nalgebra dependency
- Implement our own `Point` and `Vector` types - Make `Rectangle` not generic
This commit is contained in:
parent
343cafa1ee
commit
eecac7b5d1
18 changed files with 69 additions and 31 deletions
|
|
@ -14,8 +14,8 @@ impl checkbox::Renderer for Renderer<'_> {
|
|||
fn draw(
|
||||
&mut self,
|
||||
cursor_position: iced::Point,
|
||||
bounds: iced::Rectangle<f32>,
|
||||
text_bounds: iced::Rectangle<f32>,
|
||||
bounds: iced::Rectangle,
|
||||
text_bounds: iced::Rectangle,
|
||||
is_checked: bool,
|
||||
) -> MouseCursor {
|
||||
let mouse_over = bounds.contains(cursor_position)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue