Commit graph

743 commits

Author SHA1 Message Date
Héctor Ramón Jiménez
d1dc62ebcd
Merge branch 'master' into advanced-text 2023-03-17 20:17:23 +01:00
Héctor Ramón Jiménez
1816c985fa
Fix clippy lints for Rust 1.68 2023-03-14 11:11:17 +01:00
lupd
782c080bd0 Use correct package name in checkbox example docs 2023-03-08 12:55:52 -05:00
Héctor Ramón Jiménez
aa4b5bb6b9
Merge branch 'master' into feature/software-renderer 2023-03-07 07:24:34 +01:00
Héctor Ramón Jiménez
d3900e0673
Enable renderer backends in integration example 2023-03-07 06:41:41 +01:00
Héctor Ramón Jiménez
81d154d63a
Use default features in svg example 2023-03-07 06:15:38 +01:00
Héctor Ramón Jiménez
5b3977daf6
Implement vector pipeline in iced_tiny_skia 2023-03-07 06:09:51 +01:00
Héctor Ramón Jiménez
06bbcc310e
Move webgl feature selection for wgpu into iced_wgpu 2023-03-05 06:40:20 +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
f4cf488e0b
Remove generic Hasher and Event from subscription::Recipe 2023-03-05 04:15:10 +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
12781c717a
Expose window commands for Wasm builds 2023-03-03 20:45:49 +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
Bingus
a9ca89ca55
Added example of toggling fullscreen to TODOs. 2023-03-02 10:54:03 -08:00
Héctor Ramón Jiménez
5c0427edbb
Fix Clip primitive translation in iced_tiny_skia 2023-03-01 21:41:32 +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
9e815cb749
Remove Fill variant for Alignment
Implementing this generically in our `flex` logic has an exponential
cost. Let's explore other options!
2023-02-27 16:54:28 +01:00
Héctor Ramón Jiménez
700262e05c
Fix checkbox example 2023-02-24 13:56:37 +01:00
Héctor Ramón Jiménez
730d6a0756
Reuse a RenderPass as much as possible in iced_wgpu 2023-02-24 13:37:31 +01:00
Héctor Ramón Jiménez
b8c1809ea1
Refactor triangle::Pipeline into prepare and render architecture
And get rid of the staging belt! 🎉
2023-02-24 13:37:31 +01:00
Héctor Ramón Jiménez
238154af4a
Implement font::load command in iced_native 2023-02-24 13:29:11 +01:00
Héctor Ramón Jiménez
b29de28d1f
Overhaul Font type to allow font family selection 2023-02-24 13:28:24 +01:00
Héctor Ramón Jiménez
baf51a8fcf
Draft glyphon implementation of text pipeline for iced_wgpu 2023-02-24 13:19:48 +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
7b8b01f560
Use f32 in Length::Units and rename it to Fixed 2023-02-17 15:40:17 +01:00
Sebastian Dröge
d2996f3ed8
image: Allow any kind of data that implements AsRef<[u8]> for the image data
It's not required anywhere for it to be a plain slice or a `Vec` and
this makes it possible to use data allocated in a different way without
copying.
2023-02-17 14:23:13 +01:00
Héctor Ramón
27ba0be783
Merge pull request #1665 from Jedsek/patch-2
Minor update: `example/qr_code`
2023-02-17 14:12:56 +01:00
Héctor Ramón Jiménez
ac1945404e
Run cargo fmt 2023-02-17 13:57:04 +01:00
Casper Storm
4fb0be1793
Added the ability to change checkbox icon 2023-02-16 14:13:04 +01:00
13r0ck
42b1bfe66d Fix: Clippy lint 'uninlined_format_args' 2023-01-27 14:02:48 -07:00
Héctor Ramón
2dea5fe058
Merge pull request #1655 from tarkah/feat/group-overlay
Group Overlay
2023-01-24 02:14:50 +01:00
Jedsek
06fb7e0b51
Update main.rs 2023-01-20 13:56:02 +08:00
Jedsek
ccd02c525b
Update main.rs
The app should not render qr_code when data is empty
2023-01-20 13:46:09 +08:00
Héctor Ramón
8acf7c41fc
Fix #[default] in preset for game_of_life example 2023-01-19 20:20:13 +01:00
Jedsek
e80c7dff8d
Update preset.rs 2023-01-19 19:09:45 +08:00
Cory Forsstrom
be860508a9
Rename method to is_over 2023-01-17 17:20:53 -08:00
Cory Forsstrom
d470467718
Add toast example 2023-01-17 17:10:58 -08:00
Héctor Ramón
597af315af
Merge pull request #1647 from iced-rs/feature/widget-request-redraw
Widget-driven animations
2023-01-13 20:33:59 +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
7354f68b3c
Draft Shell:request_redraw API
... and implement `TextInput` cursor blink 🎉
2023-01-12 02:59:08 +01:00
Nick Senger
58bcc4404e feat: provide &Dependency to Lazy widget View 2023-01-11 11:37:56 -08:00
Nick Senger
c7c5611087 clippy 2023-01-10 22:00:42 -08:00
Nick Senger
45dda41c4c add overlays to Lazy example 2023-01-10 21:35:55 -08:00
Nick Senger
4066f89ce7 cleanup Lazy examples 2023-01-10 21:35:55 -08:00
Héctor Ramón Jiménez
0c2bcecd44
Add some missing spacing to scrollable example 2023-01-08 20:09:47 +01:00
Héctor Ramón Jiménez
624a4ada79
Introduce RelativeOffset type in scrollable 2023-01-08 20:07:11 +01:00
bungoboingo
9f85e0c721 Reworked Scrollable to account for lack of widget order guarantees.
Fixed thumb "snapping" bug on scrollable when cursor is out of bounds.
2022-12-29 18:29:15 -08:00
Bingus
d91f4f6aa7 Add multidirectional scrolling capabilities to the existing Scrollable. 2022-12-29 10:21:23 -08:00
Héctor Ramón Jiménez
0e9c1ab192
Add Renderer argument to operate 2022-12-22 14:29:24 +01:00
Héctor Ramón Jiménez
6bb01b7276
Fix clippy lints for Rust 1.66 2022-12-20 11:31:25 +01:00