Commit graph

62 commits

Author SHA1 Message Date
Héctor Ramón Jiménez
28caeccf22
Fix new clippy lints 2025-02-21 01:37:13 +01:00
Héctor Ramón Jiménez
67e489e382
Update to Rust 2024 and fix compiler errors 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
Héctor Ramón Jiménez
ae10adda74
Refactor and simplify input_method API 2025-02-02 20:45:29 +01:00
mtkennerly
aea95b53fb
Emit pane_grid::DragEvent::Canceled within deadband 2024-12-07 10:32:54 -05: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
9511bfb971
Fix event capturing order in pane_grid 2024-11-06 22:03:00 +01:00
Héctor Ramón Jiménez
e5f1e31a5c
Rename Overlay::on_event to update 2024-11-06 00:02:46 +01:00
Héctor Ramón Jiménez
4e47450c33
Implement reactive-rendering for pane_grid 2024-11-05 23:52:58 +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
Héctor Ramón Jiménez
55504ffcd4
Rename state::Widget to pane_grid::Memory 2024-10-24 13:55:04 +02:00
Héctor Ramón Jiménez
659669dd58
Remove duplicated maximized state in pane_grid 2024-10-24 13:48:34 +02:00
Cory Forsstrom
9ac3318357
Retain widget state against incoming panes
We can associate each state with a `Pane` and compare
that against the new panes to remove states w/ respective
panes which no longer exist.

Because we always increment `Pane`, new states are always
added to the end, so this retain + add new state approach
will ensure continuity when panes are added & removed
2024-10-24 13:05:42 +02:00
Héctor Ramón Jiménez
4e0a63091c
Fix new elided lifetime lint in the beta toolchain 2024-10-17 06:14:30 +02:00
Héctor Ramón Jiménez
b78243d86f
Show pane_grid doc example in multiple places 2024-09-19 04:35:39 +02:00
Héctor Ramón Jiménez
40ea3dabff
Bump version to 0.13.0 🎉 2024-09-18 02:38:49 +02:00
mtkennerly
3a434c9505
Add compact variant for pane grid controls 2024-08-22 12:43:48 -04: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
f0ae9a0c38
Use Catalog approach for all widgets 2024-03-24 05:03:09 +01:00
Héctor Ramón Jiménez
fd7a23ca47
Use closures for PaneGrid::style 2024-03-12 15:42:41 +01:00
Casper Rogild Storm
d5984ae980 fix: make pane_grid appearance items visible to others. 2024-03-08 23:26:09 +01:00
Héctor Ramón Jiménez
833538ee7f
Leverage DefaultStyle traits instead of Default 2024-03-07 20:11:32 +01:00
Héctor Ramón Jiménez
905f2160e6
Move Theme type to iced_core 2024-03-07 00:14:41 +01:00
Héctor Ramón Jiménez
34e7c6593a
Use Style struct pattern instead of trait for all widgets 2024-03-06 20:30:58 +01:00
Héctor Ramón Jiménez
9b2fd64167
Simplify theming for PaneGrid widget 2024-03-06 15:49:06 +01:00
Héctor Ramón Jiménez
29326215cc
Simplify theming for Container widget 2024-03-05 03:48:08 +01:00
Héctor Ramón Jiménez
c723c101d4
Fix PaneGrid mouse interaction when clicking a pane 2024-02-27 02:19:41 +01:00
Héctor Ramón Jiménez
e9862f8913
Point doc links to 0.12 branch 2024-02-15 03:22:53 +01:00
Héctor Ramón Jiménez
a06682ff42
Use with_translation wherever possible 2024-02-02 14:31:17 +01:00
Héctor Ramón Jiménez
f4d6648601
Introduce with_transformation to Renderer trait 2024-02-02 02:24:45 +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
25f182f933
Introduce Border struct analogous to Shadow 2024-01-20 13:29:25 +01:00
Héctor Ramón Jiménez
370b2f6df7
Use Default implementation of renderer::Quad 2024-01-20 12:25:07 +01:00
Nick Senger
cc906c83cd
feat: quad shadows 2024-01-20 11:59:37 +01:00
Héctor Ramón Jiménez
d62bb8193c
Introduce useful helpers in layout module 2024-01-10 10:01:49 +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
0655a20ad1
Make Shrink have priority over Fill in layout 2024-01-04 06:51:21 +01:00
Joao Freitas
116fb666b0
Add deadband distance before initiating drag action on pane grid 2023-12-15 10:29:43 +00:00
Héctor Ramón Jiménez
1019d1e518
Fix clippy::filter_map_next 2023-09-20 05:23:15 +02:00
Héctor Ramón Jiménez
34f07b6027
Fix clippy::semicolon_if_nothing_returned 2023-09-20 04:11:52 +02:00
Héctor Ramón Jiménez
b8e5693a30
Merge branch 'master' into explicit-text-caching 2023-09-10 00:34:21 +02:00
Héctor Ramón Jiménez
6fd2c15527
Host GIFs and video examples in iced.rs
RIP Gfycat
2023-09-07 05:05:43 +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
Héctor Ramón Jiménez
126aef88e7
Bump versions 🎉 2023-07-28 19:48:39 +02:00
Héctor Ramón Jiménez
e2ba7ece83
Introduce visible_bounds operation for Container 2023-07-27 01:04:18 +02:00
Cory Forsstrom
42c423b4a8 Add viewport to Widget::on_event 2023-07-15 10:04:25 -07:00