Commit graph

66 commits

Author SHA1 Message Date
Héctor Ramón Jiménez
53a183fe0d
Restore canvas::Frame API 2024-03-22 01:35:14 +01:00
Héctor Ramón Jiménez
b972ebca8f
Restore canvas::Program API 2024-03-21 23:30:36 +01:00
Héctor Ramón Jiménez
3645d34d6a
Implement composable, type-safe renderer fallback 2024-03-21 22:27:17 +01:00
Héctor Ramón Jiménez
54f44754eb
Move Program to application module 2024-03-17 14:19:12 +01:00
Héctor Ramón Jiménez
28a27f08ed
Remove sandbox by making application more generic 🎉 2024-03-16 19:14:13 +01:00
Héctor Ramón Jiménez
bb71e8481e
Make sandbox helper take a title as well 2024-03-16 16:12:07 +01:00
Héctor Ramón Jiménez
c22269bff3
Introduce Program API 2024-03-16 05:33:47 +01:00
Héctor Ramón Jiménez
7c4bf70023
Simplify theming for Application 2024-03-06 21:27:03 +01:00
Héctor Ramón Jiménez
6600f66cbd
Fix style in solar_system example 2024-02-10 00:39:31 +01:00
Héctor Ramón Jiménez
67408311f4
Use actual floats for logical coordinates 2023-11-30 23:40:33 +01:00
Héctor Ramón Jiménez
42ed90bc6f
Fix clippy::default_trait_access 2023-09-20 04:51:08 +02:00
Héctor Ramón Jiménez
6fd2c15527
Host GIFs and video examples in iced.rs
RIP Gfycat
2023-09-07 05:05:43 +02:00
Héctor Ramón Jiménez
f468e25d0c
Use workspace dependencies and package inheritance
We are also taking this as a chance to synchronize
the versions of all the crates! Because of this, we
will skip the `0.11` version.
2023-09-04 13:08:17 +02:00
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
4c1a082f04
Remove Builder abstractions for gradients 2023-05-19 03:32:21 +02:00
Bingus
6551a0b2ab
Added support for gradients as background variants + other optimizations. 2023-05-11 11:13:44 -07: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
5fd5d1cdf8
Implement Canvas support for iced_tiny_skia 2023-03-01 21:34:26 +01:00
Héctor Ramón Jiménez
0b86c4a299
Implement window::frames subscription
... and use it in the `solar_system` example 🎉
2023-01-12 04:35:41 +01:00
Héctor Ramón Jiménez
18fb74f200
Introduce Custom variants for every style in the built-in Theme 2022-11-09 04:05:31 +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
e07344428d
Refactor imports in solar_system example 2022-11-03 05:19:58 +01:00
Héctor Ramón Jiménez
b957453404
Run cargo fmt 2022-11-03 04:35:16 +01: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
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
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
bb07d017e8
Add Style variant support to application::StyleSheet 2022-07-08 20:07:33 +02:00
Héctor Ramón Jiménez
fa55dff61d
Merge branch 'master' into theming 2022-07-08 19:31:45 +02:00
Cory Forsstrom
aae880ca5d Fix alpha blending for wgpu msaa 2022-06-16 12:26:03 -07:00
Héctor Ramón Jiménez
fc13bb3d65
Implement theme styling for Canvas 2022-06-07 05:24:43 +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
adce9e0421
Update Rust edition to 2021 🎉 2022-02-09 17:57:44 +07:00
Héctor Ramón Jiménez
f56c8a7361
Ask for a slice of segments instead of ownership in LineDash 2022-02-03 17:18:05 +07:00
Cory Forsstrom
39800b445f Increase gap in example 2022-01-27 10:01:16 -08:00
Cory Forsstrom
e835cea03c Add line dash API 2022-01-27 09:40:52 -08:00
Héctor Ramón Jiménez
37c72793d0
Remove unused field in solar_system example 2021-12-07 16:12:34 +07:00
Héctor Ramón Jiménez
76698ff2b5
Make Command implementations platform-specific
This allows us to introduce a platform-specific `Action` to both `iced_native`
and `iced_web` and remove the `Clipboard` from `Application::update` to maintain
purity.

Additionally, this should let us implement further actions to let users query
and modify the shell environment (e.g. window, clipboard, and more!)
2021-09-02 13:29:34 +07:00
Héctor Ramón Jiménez
ae517b9fa0 Add clipboard argument to Application::update 2021-03-11 03:38:20 +01:00
Sebastian
5f27ed4720 Update: rand 2021-03-03 01:23:18 +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
e2076612cb Implement time::every in iced_futures 2020-04-30 05:37:44 +02:00
Héctor Ramón Jiménez
dc51080328 Introduce Cursor type in canvas 2020-04-29 04:25:49 +02:00
Héctor Ramón Jiménez
2539042b71 Remove Drawable and rename State to Program 2020-04-28 06:24:12 +02:00