Héctor Ramón Jiménez
34451bff18
Implement basic cursor availability
2023-06-08 20:11:59 +02:00
Héctor Ramón Jiménez
faa7627ea4
Introduce web-colors feature flag to enable sRGB linear blending
...
This is how browsers perform color management. They treat
gamma-corrected sRGB colors as if they were linear RGB.
Correctness aside, this mode is introduced for legacy reasons. Most
UI/UX tooling uses this color management as well, and many have created
an intuition about how color should behave from interacting with a
browser.
This feature flag should facilitate application development with `iced`
in those cases.
More details: https://webcolorisstillbroken.com/
2023-05-31 21:31:58 +02:00
Héctor Ramón Jiménez
3a0d34c024
Create iced_widget subcrate and re-organize the whole codebase
2023-03-04 05:37:11 +01:00
Héctor Ramón Jiménez
5fd5d1cdf8
Implement Canvas support for iced_tiny_skia
2023-03-01 21:34:26 +01:00
Héctor Ramón Jiménez
bb2bf063b4
Derive Default for Rainbow in geometry example
2022-11-28 19:49:23 +01:00
Héctor Ramón Jiménez
324d60db63
Re-introduce the geometry example
2022-11-28 19:42:53 +01:00
shan
30432cbade
Readjusted namespaces, removed Geometry example as it's no longer relevant.
2022-10-05 10:49:58 -07:00
shan
40f45d7b7e
Adds linear gradient support to 2D meshes in the canvas widget.
2022-09-29 11:15:35 -07: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
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
664251f3f5
Draft first-class Theme support
...
RFC: https://github.com/iced-rs/rfcs/pull/6
2022-05-14 01:56:32 +02:00
Héctor Ramón Jiménez
1313c94e3b
Remove hash_layout method from Widget trait
2022-02-23 21:31:54 +07:00
Héctor Ramón Jiménez
adce9e0421
Update Rust edition to 2021 🎉
2022-02-09 17:57:44 +07:00
Héctor Ramón Jiménez
e5e477aa69
Migrate geometry example to new Renderer API
2021-10-30 20:42:09 +07:00
Héctor Ramón Jiménez
edea093350
Move Defaults from iced_graphics to iced_native
2021-10-18 15:19:04 +07:00
Héctor Ramón Jiménez
03b3493138
Remove trait-specific draw logic in iced_native
2021-10-14 16:07:22 +07:00
Héctor Ramón Jiménez
a0ad399622
Refactor alignment types into an alignment module
2021-09-20 15:14:08 +07:00
Héctor Ramón Jiménez
5fae6e59ff
Introduce and use CrossAlign enum for Column and Row
2021-09-20 15:12:43 +07:00
Héctor Ramón Jiménez
d328b07b39
Introduce viewport to Widget::draw
...
This should eventually allow us to only generate primitives that are
visible.
2020-10-28 06:21:07 +01:00
Héctor Ramón Jiménez
c1f79b40cf
Make Application and Sandbox return a Result
2020-09-08 00:44:59 +02:00
Héctor Ramón Jiménez
e0e4ee73fe
Implement iced_glutin 🎉
2020-05-21 00:44:35 +02:00
Héctor Ramón Jiménez
98bc8cf2a7
Rename MouseCursor to mouse::Interaction
2020-04-30 08:16:38 +02:00
Héctor Ramón Jiménez
59403b6ca8
Remove OutOfBounds variant from MouseCursor
2020-04-29 03:11:15 +02:00
Héctor Ramón Jiménez
e65585ae17
Clip and cull Mesh2D primitives in iced_wgpu
2020-04-28 04:41:09 +02:00
Héctor Ramón Jiménez
59b1e90661
Introduce Translate primitive in iced_wgpu
2020-04-28 03:52:10 +02:00
Héctor Ramón Jiménez
b74e7e7353
Implement Primitive::Cached
2020-03-07 23:45:54 +01:00
Héctor Ramón Jiménez
b0cf47cc2b
Create README files for all the examples
2020-02-21 15:20:05 +01:00
Héctor Ramón Jiménez
1beeaf9db5
Fix examples using Mesh2D
2020-02-12 09:12:15 +01:00
Héctor Ramón Jiménez
7cea737115
Package examples and remove dev-dependencies
2020-01-20 06:27:01 +01:00