Commit graph

695 commits

Author SHA1 Message Date
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 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
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
Bingus
aabc4e87b5
Merge branch 'master' into fear/linear-gradients 2022-10-07 16:58:45 -07:00
shan
a4a1262fa2 Fixed import issue with canvas in the gradient mod for situations where canvas feature is not enabled. 2022-10-07 16:28:13 -07:00
shan
3e600fe775 Adjusted reexports for clarity. 2022-10-07 13:10:37 -07:00
shan
12a87c54eb Added support for relative positioning of gradient fills. Addressed some PR feedback. 2022-10-07 12:01:07 -07:00
shan
72feba51be Fixed some imports/documentation. 2022-10-06 19:13:40 -07:00
shan
9c7bf417ac Added support for gradients to respect current frame transform. 2022-10-06 18:59:54 -07:00
shan
cb7c467654 Fixed lint issues & cleaned up some documentation. 2022-10-06 07:28:05 -07:00
shan
1eb8d972ba Reduced memory transfer of OpenGL gradient uniform upload. Rearranged gradient uniforms on OpenGL side to be more performant. 2022-10-05 16:07:43 -07:00
shan
30432cbade Readjusted namespaces, removed Geometry example as it's no longer relevant. 2022-10-05 10:49:58 -07:00
shan
6e7b3ced0b Reworked wgpu buffers, updated glow side to have proper transform location storage, attempting to fix visibility modifiers, implemented some of the feedback received in initial PR. 2022-10-04 18:24:46 -07: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
shan
5d0fffc626 Fixed some importing issues since you can use a Shader::Gradient outside a Canvas widget, where it was previously only accessible. 2022-09-30 10:27:00 -07:00
shan
e25f3d3dea Fixed issue where OpenGL would not render both shaders at once under certain circumstances. 2022-09-29 17:13:32 -07:00
shan
40f45d7b7e Adds linear gradient support to 2D meshes in the canvas widget. 2022-09-29 11:15:35 -07:00
nlevy
0412718080
Recreate Viewport on RedrawRequested in integration_wgpu 2022-09-26 15:43:52 +02:00
Clark Moody
bb92369017 Include short version in example app 2022-09-23 15:56:37 -05:00
xkenmon
79d045cfe1
Implement sierpinski-triangle example 2022-09-23 17:41:34 +02:00
Ram.Type-0
ce3b89639d
Take Cow in Text::new 2022-09-21 20:59:17 +02:00
Zoron
ef39d85696
Update docs for running integration_wgpu example 2022-09-08 13:58:28 +08:00
Héctor Ramón Jiménez
a07cb8588f
Reintroduce Element::explain 2022-08-26 20:04:02 +02:00
Héctor Ramón
1923dbf7f0
Merge pull request #1393 from iced-rs/deprecate-stateful-widgets
Replace stateful widgets with the new `iced_pure` API
2022-08-06 00:32:57 +02:00
Héctor Ramón Jiménez
1b4f38c71f
Bump websocket example version to fix audit workflow 2022-08-04 03:59:21 +02:00
Héctor Ramón Jiménez
13dd1ca0a8
Implement scrollable::snap_to operation 2022-08-04 03:55:41 +02:00
Héctor Ramón Jiménez
6eb3dd7e5e
Implement focus_previous operation 2022-08-04 03:24:44 +02:00
Héctor Ramón Jiménez
77c6864e7c
Implement focus_next operation
... as well as a `count_focusable` composable helper!
2022-08-02 04:20:47 +02:00
Héctor Ramón Jiménez
744edbd6c1
Focus text inputs in todos example 2022-07-28 03:58:46 +02:00
Héctor Ramón Jiménez
80688689aa
Draft widget operations 2022-07-28 02:46:51 +02:00
Héctor Ramón Jiménez
c512d50e19
Fix clippy lints 2022-07-27 06:59:54 +02:00
Héctor Ramón Jiménez
effa6881f7
Enable arc example 2022-07-27 06:57:49 +02:00
Héctor Ramón Jiménez
a1c5f8839d
Use ToString for Text::new instead of Into<String> 2022-07-27 06:56:09 +02:00
Héctor Ramón Jiménez
ff2519b1d4
Replace stateful widgets with new iced_pure API 2022-07-27 06:49:20 +02:00
Héctor Ramón Jiménez
f558103abe
Fix small lint in pure_color_palette example 2022-07-27 03:24:25 +02:00
Max Unsted
a28799b65e
add pure version of color_palette example 2022-07-27 03:18:34 +02:00
Héctor Ramón Jiménez
34b691fdd4
Fix deb asset path in todos example 2022-07-14 18:29:40 +02:00
Héctor Ramón Jiménez
3a26a8ccd4
Use Palette consistently in arc example 2022-07-10 15:23:51 +02:00
Héctor Ramón Jiménez
1454bcda4c
Fix README or arc example 2022-07-10 15:20:59 +02:00
Héctor Ramón Jiménez
4b8ae71b63
Add and purify arc example by @ThatsNoMoon 2022-07-10 15:15:29 +02:00
Héctor Ramón Jiménez
e548d6c0d5
Fix Wasm build of todos example 2022-07-09 18:49:50 +02:00
Héctor Ramón Jiménez
2065a40f64
Fix clippy lints for all crates and features
... and check those in CI as well!
2022-07-09 18:43:05 +02:00
Héctor Ramón Jiménez
3514bd1535
Add theme::Application styling support to Sandbox 2022-07-08 20:13:14 +02:00
Héctor Ramón Jiménez
bb07d017e8
Add Style variant support to application::StyleSheet 2022-07-08 20:07:33 +02:00