Commit graph

173 commits

Author SHA1 Message Date
Héctor Ramón Jiménez
8c7308d9ce
Enable all features in docs.rs 2023-07-28 19:57:08 +02:00
Héctor Ramón Jiménez
126aef88e7
Bump versions 🎉 2023-07-28 19:48:39 +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
dd04c0b070
Bundle tiny-skia backend together with iced_renderer 2023-05-10 22:23:11 +02:00
Héctor Ramón Jiménez
4bae457c37
Merge branch 'master' into advanced-text 2023-04-17 23:41:12 +02:00
Héctor Ramón Jiménez
c79cc2d2b3
Bump versions 🎉 2023-04-13 08:41:09 +02:00
Héctor Ramón Jiménez
9b4bcd287a
Introduce backend feature flags in iced_renderer 2023-03-06 22:10:13 +01:00
Héctor Ramón Jiménez
99e0a71504
Rename iced_native to iced_runtime 2023-03-05 06:35:20 +01: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
6cc48b5c62
Move Canvas and QRCode to iced crate
Rename `canvas` modules to `geometry` in graphics subcrates
2023-03-03 04:57:55 +01:00
Héctor Ramón Jiménez
3f6e28fa9b
Use iced_renderer instead of iced_graphics in root crate 2023-02-28 20:47:13 +01:00
Héctor Ramón Jiménez
8c373cd497
Scaffold iced_tiny_skia and connect it to iced_renderer 2023-02-25 15:38:25 +01:00
Héctor Ramón Jiménez
5100b5d0a1
Introduce iced_renderer subcrate featuring runtime renderer fallback 2023-02-24 23:24:48 +01:00
Héctor Ramón Jiménez
b2c87cdd23
Make iced_wgpu a mandatory dependency 2023-02-24 13:39:38 +01:00
Héctor Ramón Jiménez
a0597471b8
Remove iced_glutin and iced_glow leftovers 2023-02-24 13:38:18 +01:00
Héctor Ramón Jiménez
b9a9576207
Remove iced_glow, glyph-brush, and wgpu_glyph dependencies 2023-02-24 13:17:58 +01:00
Héctor Ramón Jiménez
0d1656937b
Bump versions 🎉 2023-02-18 12:04:40 +01:00
Héctor Ramón Jiménez
9fe46de13f
Bump versions 🎉 2023-01-14 01:10:28 +01:00
bungoboingo
4b6d3797d4
Restructured everything to make profiling a feature of iced_winit. 2023-01-09 18:52:38 +01:00
Bingus
c5cd236b73
Initial profiling support for Iced. 2023-01-09 18:52:38 +01:00
Héctor Ramón Jiménez
4c61f12768
Bump versions 🎉 2022-12-07 04:44:20 +01:00
Cory Forsstrom
3814fda9d2 Add modal example 2022-11-29 12:50:57 -08:00
Héctor Ramón Jiménez
324d60db63
Re-introduce the geometry example 2022-11-28 19:42:53 +01:00
Héctor Ramón Jiménez
23299a555f
Bump versions 🎉 2022-11-10 18:15:10 +01:00
Héctor Ramón Jiménez
7eaeab8d99
Update README 2022-11-10 02:25:28 +01:00
Héctor Ramón Jiménez
b0e8bafb6c
Bump versions 🎉 2022-11-10 01:20:11 +01:00
Héctor Ramón
acb520a4a8
Merge pull request #1505 from ids1024/weak-dep-feature
Combine `glow_default_system_font` and `default_system_font` features
2022-11-08 04:24:48 +01:00
Héctor Ramón Jiménez
078cadfed0
Update image dependency to 0.24 2022-11-05 03:47:08 +01:00
Ian Douglas Scott
5575e6ea08
Add image/svg support to iced_glow
https://github.com/iced-rs/iced/issues/674

Uses image/svg support in `iced_graphics`. The is not currently using an
atlas, and uses one texture/draw per image. This should be good enough
for now; supporting images with glow is better than not supporting them,
and if something else performs better, that improvement can be made
without any change to the public API.
2022-11-05 03:19:38 +01:00
Ian Douglas Scott
4d42ca2452 Combine glow_default_system_font and default_system_font features
Apparently "weak dependency features" have been stable since Rust
1.60.0, allowing a feature to enable a feature of a dependency only if
that dependency is enabled elsewhere. So having a separate feature for
this with glow is unnecessary now.

Also remove the `resolver` setting which is redundant on edition 2021.
2022-11-03 14:53:22 -07: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
415978b807
Rename cached example to lazy 2022-11-03 02:55:22 +01:00
Nick Senger
50eb9e34b8
add example 2022-11-03 02:23:19 +01:00
Bingus
aabc4e87b5
Merge branch 'master' into fear/linear-gradients 2022-10-07 16:58:45 -07:00
shan
30432cbade Readjusted namespaces, removed Geometry example as it's no longer relevant. 2022-10-05 10:49:58 -07:00
Artur Sapek
fe17641d46
Working multitouch example 2022-10-04 11:23:03 +02: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
98b5832917
Remove application feature from iced crate 2022-09-26 15:58:12 +02:00
aentity
78c9d5bedf
Add application feature, which allows to build freestanding wgpu app 2022-09-26 15:57:30 +02:00
Héctor Ramón
bfd24c27db
Merge pull request #1174 from daladim/icon_from_file
Added convenience functions for window::icon::Icon
2022-09-23 20:02:57 +02:00
xkenmon
79d045cfe1
Implement sierpinski-triangle example 2022-09-23 17:41:34 +02:00
Aphek
8ad6889ee0 Remove old pure feature from docs.rs build metadata 2022-08-31 22:53:42 -03: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
ff2519b1d4
Replace stateful widgets with new iced_pure API 2022-07-27 06:49:20 +02:00
Max Unsted
a28799b65e
add pure version of color_palette example 2022-07-27 03:18:34 +02:00
Luni-4
8f03a72742 Add custom profile release-opt 2022-07-14 16:58:06 +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
27fdc70756
Merge branch 'master' into dev/system-information 2022-05-04 17:19:28 +02:00
Héctor Ramón Jiménez
a97c520c81
Sort workspace members in Cargo.toml 2022-05-04 17:17:07 +02:00
Héctor Ramón Jiménez
62677eafc0
Bump version 🎉 2022-05-03 19:43:27 +02:00