Commit graph

2732 commits

Author SHA1 Message Date
Héctor Ramón Jiménez
68cddd6468
Remove unnecessary pub(crate) in widget::canvas::frame 2022-11-03 06:05:06 +01:00
Héctor Ramón Jiménez
4ef778aff3
Refactor imports of widget::canvas::frame in iced_graphics 2022-11-03 06:01:34 +01:00
Héctor Ramón Jiménez
75b05ed42d
Move re-export in widget::canvas in iced_graphics 2022-11-03 06:00:32 +01:00
Héctor Ramón Jiménez
a8c3b2ddf7
Fix documentation example of Canvas
... so it makes sense when seen from the `iced` crate.
2022-11-03 05:59:13 +01:00
Héctor Ramón Jiménez
e9e2657791
Refactor imports in widget::canvas in iced_graphics 2022-11-03 05:57:22 +01:00
Héctor Ramón Jiménez
84d1b79fef
Move mesh::Style to triangle and reuse it in fill and stroke 2022-11-03 05:50:53 +01:00
Héctor Ramón Jiménez
e0bb707f1e
Export Gradient in iced_graphics root 2022-11-03 05:24:51 +01:00
Héctor Ramón Jiménez
0b806235f6
Remove blank line if layer::mesh in iced_graphics 2022-11-03 05:23:43 +01:00
Héctor Ramón Jiménez
610dae4877
Refactor exports in graphics::layer 2022-11-03 05:22:58 +01:00
Héctor Ramón Jiménez
e07344428d
Refactor imports in solar_system example 2022-11-03 05:19:58 +01:00
Héctor Ramón Jiménez
d8045e2dc3
Move Position and Location to gradient module 2022-11-03 05:15:32 +01:00
Héctor Ramón Jiménez
921c94162e
Merge branch 'master' into fear/linear-gradients 2022-11-03 05:09:07 +01:00
Héctor Ramón Jiménez
93e309f491
Reuse last set pipeline for triangle in iced_wgpu 2022-11-03 05:06:09 +01:00
Héctor Ramón Jiménez
99cf98971d
Rename buffers module to buffer
... and move `StaticBuffer` to nested `static` module
2022-11-03 05:00:35 +01:00
Héctor Ramón Jiménez
7e22e2d452
Fix lints by clippy 2022-11-03 04:53:27 +01:00
Héctor Ramón Jiménez
edce457365
Fix multitouch example 2022-11-03 04:42:46 +01:00
Héctor Ramón Jiménez
9a02d60ba5
Convert colors to linear RGB in gradient pipelines 2022-11-03 04:41:27 +01:00
Héctor Ramón Jiménez
6246584209
Convert colors to linear RGB before uploading in solid pipelines 2022-11-03 04:37:23 +01:00
Héctor Ramón Jiménez
b957453404
Run cargo fmt 2022-11-03 04:35:16 +01:00
Héctor Ramón Jiménez
20a0577034
Reuse last buffer in Frame if mesh_style matches 2022-11-03 04:33:54 +01:00
Héctor Ramón
231d2fd845
Merge pull request #1400 from nicksenger/lazy/cached
`Lazy` widget
2022-11-03 03:12:23 +01:00
Héctor Ramón
3b8669ae94
Merge pull request #1502 from icedrocket/master
fix: enable `application` feature required in `iced_glutin`
2022-11-03 03:05:54 +01:00
Héctor Ramón Jiménez
415978b807
Rename cached example to lazy 2022-11-03 02:55:22 +01:00
Héctor Ramón Jiménez
6efda2457e
Rename SortOrder to Order in cached example 2022-11-03 02:47:43 +01:00
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
icedrocket
be17295001 fix: enable application feature required in iced_glutin 2022-11-02 15:57:55 +09: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