Commit graph

2677 commits

Author SHA1 Message Date
Héctor Ramón Jiménez
1cdc1fcd06
Rename iced_lazy::Cached to Lazy 🎉 2022-11-03 02:46:31 +01:00
Héctor Ramón Jiménez
adf541d432
Improve layout of cached example 2022-11-03 02:40:51 +01:00
Héctor Ramón Jiménez
1687d11389
Increase default padding of TextInput 2022-11-03 02:35:17 +01:00
Héctor Ramón Jiménez
0478df9fd6
Add padding to main column in cached example 2022-11-03 02:35:05 +01:00
Héctor Ramón Jiménez
0e295be891
Move declaration of SortOrder in cached example 2022-11-03 02:32:38 +01:00
Héctor Ramón Jiménez
1fb84ae5d3
Remove iced_native dependency from cached example 2022-11-03 02:32:23 +01:00
Héctor Ramón Jiménez
4f83500bb8
Rename pure_cached example to cached 2022-11-03 02:31:04 +01:00
Héctor Ramón Jiménez
54f9ab7d5f
Implement Widget::operate for lazy::Cached 2022-11-03 02:30:41 +01:00
Héctor Ramón Jiménez
b5d33b0370
Diff children only when hash differs in lazy::Cached 2022-11-03 02:28:54 +01:00
Nick Senger
459d32b984
lint 2022-11-03 02:23:19 +01:00
Nick Senger
50eb9e34b8
add example 2022-11-03 02:23:19 +01:00
Nick Senger
7138141811
feat: implement Cached widget 2022-11-03 02:23:19 +01:00
Héctor Ramón
08e28f6f97
Merge pull request #1471 from pop-os/cosmic-window-controls
feat: Additional actions for window controls
2022-11-03 00:45:05 +01:00
Héctor Ramón
1c00adad61
Merge pull request #1497 from ids1024/once_cell
Use `once_cell` instead of `lazy_static`
2022-11-01 20:18:42 +01:00
Héctor Ramón Jiménez
743a7192b7
Remove patch version from once_cell dependency 2022-11-01 19:55:37 +01:00
Héctor Ramón
37c5b15f62
Merge pull request #1462 from wyatt-herkamp/master
Update `wgpu` to `0.14` and `wgpu_glyph` to `0.18`
2022-11-01 19:53:03 +01:00
Héctor Ramón Jiménez
8f6af6bbfc
Fix inconsistent version format for raw-window-handle dependency 2022-11-01 19:20:27 +01:00
Héctor Ramón Jiménez
bea5882c58
Remove inconsistent wgpu imports 2022-11-01 19:20:27 +01:00
Wyatt Herkamp
0a12590b6f
Update wgpu to 0.14 and wgpu_glyph to 0.18 2022-11-01 19:20:23 +01:00
Héctor Ramón Jiménez
ac6a3cf8eb
Reset is_pasting for TextInput even when unfocused 2022-10-29 04:50:45 +02:00
Héctor Ramón Jiménez
58d3374229
Keep keyboard modifiers always in sync in TextInput 2022-10-29 04:43:20 +02:00
Héctor Ramón
0eb24bd56a
Merge pull request #1496 from tarkah/fix/dropdown-scrollable
Fix drop down not closing when inside scrollable
2022-10-29 01:45:00 +02:00
Ian Douglas Scott
be9cd3a09f Use once_cell instead of lazy_static
This seems to be generally considered the preferred, idiomatic solution
now. This is in the standard library behind a feature flag (apparently
now called `std::sync::LazyLock`).
2022-10-28 15:58:21 -07:00
Cory Forsstrom
f8c363eeac Fix drop down not closing when inside scrollable
and user clicks outside the scrollable. This is because the scrollable
sets -1.0 on cursor.y for any events where cursor is outside it's
bounds. I'm not sure why picklist had this logic to stay open on -1.0 /
-1.0, any click outside the overlay should close it.
2022-10-27 17:40:18 -07:00
Héctor Ramón
82217947aa
Merge pull request #1480 from tarkah/more-pane-grid-fixes
More pane grid fixes
2022-10-19 23:32:12 +02:00
Cory Forsstrom
069371c86b Use child layout 2022-10-19 13:21:46 -07:00
Cory Forsstrom
470723c232 Eliminate unnecessary allocation 2022-10-19 13:05:56 -07:00
Cory Forsstrom
fb036529a2 Render picked pane last 2022-10-17 14:56:06 -07:00
Cory Forsstrom
dca99f35e9 Fix pane grid mouse interactions
- Use `grabbing` interaction while dragging
- Ignore grab interaction when dragging is disabled
2022-10-17 14:38:24 -07:00
Héctor Ramón
69e288cad1
Merge pull request #1463 from tarkah/fix/pane-grid-render-order
Render pane grid titlebar after body
2022-10-17 19:26:59 +02:00
Michael Aaron Murphy
ac6e137be3
feat: Add window minimize support 2022-10-11 21:56:45 +02:00
Michael Aaron Murphy
8a50836ffc
feat: Add window maximize support 2022-10-11 21:56:01 +02:00
Michael Aaron Murphy
7ea7dbef57
feat: Add window drag support from winit
Exposes access to the winit window's window_drag method as an action.
2022-10-11 21:39:53 +02:00
Cory Forsstrom
20fd1f2047 Render pane grid titlebar after body 2022-10-07 09:03:44 -07:00
Héctor Ramón
77c838011f
Merge pull request #1458 from AlistairKeiller/master
Fix wgpu README supported backends
2022-10-07 12:25:07 +02:00
Alistair Keiller
520907e997 remove iced 2022-10-06 11:27:45 -07:00
Alistair Keiller
c9641b0b5d add a link to wgpu supported platforms list 2022-10-06 11:22:27 -07:00
Alistair Keiller
013c1f1f89 remove DX11 support from wgpu 2022-10-06 09:55:20 -07:00
Héctor Ramón
cd5a5f2ed2
Merge pull request #1331 from ThisIsRex/master
`is_selected` property for `Radio` `StyleSheet`
2022-10-05 19:15:14 +02:00
MG_REX
dbd76ea21c
Derive Clone and Copy for toggler::Appearance 2022-10-05 19:08:07 +02:00
MG_REX
d95c216b2d
Add is_selected argument in radio::StyleSheet 2022-10-05 19:07:02 +02:00
Héctor Ramón
2278bade55
Merge pull request #1305 from artursapek/canvas-touch
Expose touch events in canvas widget
2022-10-04 18:20:14 +02:00
Héctor Ramón Jiménez
8c74464b0d
Fix clippy lints 2022-10-04 11:53:03 +02:00
Héctor Ramón Jiménez
ce2c795bda
Replace voronoi crate with voronator 2022-10-04 11:50:32 +02:00
Héctor Ramón Jiménez
ddb8f5b96c
Finish multitouch example 2022-10-04 11:35:22 +02:00
Artur Sapek
9d6834f250
vornoi experiment 2022-10-04 11:24:10 +02:00
Artur Sapek
fe17641d46
Working multitouch example 2022-10-04 11:23:03 +02:00
Artur Sapek
4a3c3e2a18
expose touch module 2022-10-04 11:15:36 +02:00
Artur Sapek
388b3c3b33
expose touch events in canvas widget 2022-10-04 11:15:35 +02:00
Héctor Ramón
5f758d847f
Merge pull request #1450 from xTeKc/readme
update: match test badge
2022-10-03 20:06:58 +02:00