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
e07344428d
Refactor imports in solar_system example
2022-11-03 05:19:58 +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
edce457365
Fix multitouch example
2022-11-03 04:42:46 +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
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
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
Nick Senger
50eb9e34b8
add example
2022-11-03 02:23:19 +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 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