Héctor Ramón Jiménez
|
9ceb467e6e
|
Run cargo fmt
|
2025-02-21 01:37:13 +01:00 |
|
Héctor Ramón Jiménez
|
afef368d8a
|
Take Event by reference in Widget::update
|
2025-02-04 01:26:59 +01:00 |
|
edwloef
|
3d64e6cd3c
|
derive partialeq and eq for mouse::click::Kind
|
2025-01-22 16:32:59 +01:00 |
|
Héctor Ramón Jiménez
|
602661372c
|
Fix new clippy lints
|
2024-12-02 19:56:27 +01:00 |
|
Héctor Ramón Jiménez
|
f02bfc3f68
|
Rename Widget::on_event to update
|
2024-11-05 23:52:58 +01:00 |
|
Héctor Ramón Jiménez
|
dcc184b01b
|
Replace event::Status in Widget::on_event with Shell::capture_event
|
2024-11-05 23:52:58 +01:00 |
|
7sDream
|
75548373a7
|
Add support for double click event to MouseArea (#2602)
* feat(widget/mouse_area): add double_click event
* Run `cargo fmt`
---------
Co-authored-by: Héctor Ramón Jiménez <hector@hecrj.dev>
|
2024-09-24 21:05:17 +00:00 |
|
Héctor Ramón Jiménez
|
1f8dc1f3dd
|
Fix mouse_area not notifying of mouse move events
|
2024-09-19 06:57:07 +02:00 |
|
Héctor Ramón Jiménez
|
25e54a9acb
|
Simplify signatures of on_move and on_scroll for mouse_area
|
2024-09-10 23:41:07 +02:00 |
|
Héctor Ramón Jiménez
|
c711750be7
|
Use cursor changes to notify mouse events in mouse_area
Fixes #2433.
|
2024-09-10 23:39:49 +02:00 |
|
Siliwolf
|
bf4796bbeb
|
Add on_scroll handler to mouse_area widget
|
2024-09-10 23:32:16 +02:00 |
|
Héctor Ramón Jiménez
|
422568dee4
|
Introduce black_box and chain in widget::operation
|
2024-08-08 01:25:00 +02:00 |
|
Héctor Ramón Jiménez
|
a25b1af456
|
Replace Command with a new Task API with chain support
|
2024-06-14 01:47:39 +02:00 |
|
Héctor Ramón Jiménez
|
4cd45643d7
|
Introduce opaque widget helper
|
2024-04-25 06:05:37 +02:00 |
|
Héctor Ramón Jiménez
|
8b22e0ebbc
|
Shorten properties in MouseArea
|
2024-02-07 12:05:47 +01:00 |
|
Héctor Ramón Jiménez
|
fef6fca369
|
Shorten some MouseArea methods
|
2024-02-07 12:02:56 +01:00 |
|
Héctor Ramón Jiménez
|
d756a9210a
|
Override MouseArea interaction only when contents are idle
|
2024-02-07 12:00:33 +01:00 |
|
vawvaw
|
bcdfbf4871
|
Add Interaction overriding to MouseArea
Add the ability to use a custom `iced:🐭:Interaction` for a
`iced::widget::MouseArea`.
|
2024-02-07 11:56:43 +01:00 |
|
Héctor Ramón Jiménez
|
8ea85f3b12
|
Use Fn instead of FnMut in MouseArea
... and simplify event logic a bit.
|
2024-02-03 18:05:40 +01:00 |
|
Remmirad
|
bd13c580f0
|
Fix lints
|
2024-02-03 17:52:48 +01:00 |
|
Remmirad
|
ce23498edf
|
Add mouse move events to MouseArea
|
2024-02-03 17:52:39 +01:00 |
|
Héctor Ramón Jiménez
|
738aa47547
|
Remove position from overlay::Element
|
2024-02-01 01:08:21 +01:00 |
|
Héctor Ramón Jiménez
|
7a50e9e8fb
|
Convert Renderer::Theme to generic Widget type
|
2024-01-21 17:56:01 +01:00 |
|
Héctor Ramón Jiménez
|
d278bfd21d
|
Replace width and height with Widget::size
|
2024-01-10 10:01:49 +01:00 |
|
Héctor Ramón Jiménez
|
df72fd1095
|
Fix Widget::layout implementation of MouseArea
|
2023-09-10 03:04:02 +02:00 |
|
Héctor Ramón Jiménez
|
a026e917d3
|
Make widget::Tree mutable in Widget::layout
|
2023-08-30 06:36:24 +02:00 |
|
Héctor Ramón Jiménez
|
ed3454301e
|
Implement explicit text caching in the widget state tree
|
2023-08-30 04:31:21 +02:00 |
|
Cory Forsstrom
|
42c423b4a8
|
Add viewport to Widget::on_event
|
2023-07-15 10:04:25 -07:00 |
|
Héctor Ramón Jiménez
|
5c8cfb411e
|
Take Rectangle by value in Cursor API
|
2023-06-08 20:16:46 +02:00 |
|
Héctor Ramón Jiménez
|
34451bff18
|
Implement basic cursor availability
|
2023-06-08 20:11:59 +02:00 |
|
Héctor Ramón Jiménez
|
4bae457c37
|
Merge branch 'master' into advanced-text
|
2023-04-17 23:41:12 +02:00 |
|