Commit graph

1311 commits

Author SHA1 Message Date
Skygrango
f9124470b4 Fix clock example doesn't get the correct local time under unix system
There is a long-standing problem (https://github.com/time-rs/time/issues/293) that has not yet been solved by time-rs
Switch to chrono as it seemed to solve the problem (https://github.com/chronotope/chrono/pull/677)
2024-05-03 13:10:46 +08:00
Héctor Ramón Jiménez
eac5bcb64f
Fix Image::bounds when rotation present in iced_graphics 2024-05-03 07:04:57 +02:00
Héctor Ramón Jiménez
efc55b655b
Create ferris example to showcase ContentFit and Rotation 2024-05-02 17:28:29 +02:00
Héctor Ramón Jiménez
58ea914ad2
Make image::Id actually opaque 2024-05-01 01:52:49 +02:00
Héctor Ramón Jiménez
62433a65e9
Enable logging in clock example 2024-04-30 23:51:41 +02:00
Héctor Ramón Jiménez
c51b85e7ab
Invalidate text uploads after atlas trimming 2024-04-30 21:59:46 +02:00
Héctor Ramón Jiménez
cfe4ddb866
Fix clippy lint in the_matrix example 2024-04-30 08:10:22 +02:00
Héctor Ramón Jiménez
3c7b43d031
Use shared Cache group in the_matrix example 2024-04-30 08:06:51 +02:00
Héctor Ramón Jiménez
aeede66963
Create the_matrix example 2024-04-27 15:11:03 +02:00
Héctor Ramón Jiménez
a16a75a71d
Use hover widget in bezier_tool example 2024-04-27 06:06:28 +02:00
Héctor Ramón Jiménez
4fc342c979
Simplify modal example 🎉 2024-04-25 06:05:40 +02:00
Héctor Ramón Jiménez
4cd45643d7
Introduce opaque widget helper 2024-04-25 06:05:37 +02:00
Héctor Ramón Jiménez
8b1c514c38
Showcase new Stack widget in bezier_tool example 2024-04-25 01:40:06 +02:00
Héctor Ramón
105b8bd5ad
Merge pull request #2382 from iced-rs/wgpu/better-architecture
Improved architecture for `iced_wgpu` and `iced_tiny_skia`
2024-04-14 13:43:10 +02:00
alex-ds13
9cbad0a352 Remove extra Download struct from dowload_progress example 2024-04-08 19:37:37 +01:00
Héctor Ramón Jiménez
2c6fd9ac14
Make arguments of Renderer::new explicit in iced_wgpu 2024-04-08 15:35:54 +02:00
Héctor Ramón Jiménez
d922b47815
Reintroduce support for custom primitives in iced_wgpu 2024-04-08 15:04:35 +02:00
Héctor Ramón Jiménez
6d3e1d835e
Decouple caching from layering and simplify everything 2024-04-05 23:59:21 +02:00
Héctor Ramón Jiménez
b05e61f5c8
Redesign iced_wgpu layering architecture 2024-04-03 21:07:54 +02:00
Héctor Ramón Jiménez
488cac7148
Avoid extra text allocations in websocket example 2024-04-02 09:29:16 +02:00
Héctor Ramón Jiménez
b8d5df2817
Reintroduce old text helper as value helper 2024-04-01 21:36:52 +02:00
Héctor Ramón Jiménez
1d83e59e8a
Specialize widget::text helper with custom IntoContent trait 2024-04-01 21:36:08 +02:00
Héctor Ramón
eae4065300
Merge pull request #2350 from iced-rs/theming-revolutions
Theming Revolutions
2024-03-25 22:21:22 +01:00
Héctor Ramón Jiménez
f0ae9a0c38
Use Catalog approach for all widgets 2024-03-24 05:03:09 +01:00
Héctor Ramón Jiménez
e657dc2ecd
Fine-tune Catalog approach for button, checkbox, and svg 2024-03-24 02:08:20 +01:00
Héctor Ramón Jiménez
999ad2d288
Try catalog theming approach with Button 2024-03-23 19:23:08 +01:00
Héctor Ramón Jiménez
1f13a91361
Make iced_tiny_skia optional with a tiny-skia feature 2024-03-22 05:27:31 +01:00
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
5007e548ad
Fix redundant import in color_palette example 2024-03-19 07:08:25 +01:00
Richard Custodio
8ed62541af
fix: run cargo fmt 2024-03-18 18:24:57 -03:00
Richard Custodio
bf9bbf4a3e
refactor: replace text(format!( with text macro 2024-03-18 17:08:56 -03:00
Héctor Ramón Jiménez
cdb18e610a
Move Application trait to advanced module 2024-03-17 19:38:42 +01:00
Héctor Ramón Jiménez
943b6c9657
Introduce Program::run_with to control the initial state 2024-03-17 19:15:31 +01:00
Héctor Ramón Jiménez
92f8dddc2c
Simplify lifetime in toast example 2024-03-17 18:47:07 +01:00
Héctor Ramón Jiménez
32e1b2c5fc
Use Program API in modal example 2024-03-17 18:45:22 +01:00
Héctor Ramón Jiménez
59ef24f2c2
Use Program API in modal example 2024-03-17 18:41:46 +01:00
Héctor Ramón Jiménez
acb9321296
Use Program API in websocket example 2024-03-17 18:40:27 +01:00
Héctor Ramón Jiménez
78e78d20b6
Use Program API in visible_bounds example 2024-03-17 18:37:29 +01:00
Héctor Ramón Jiménez
c4be7efce5
Use Program API in game_of_life example 2024-03-17 18:06:37 +01:00
Héctor Ramón Jiménez
2eb3333623
Remove unnecessary Command::batch in todos example 2024-03-17 17:58:52 +01:00
Héctor Ramón Jiménez
784fa80c0d
Use Program API in todos example 2024-03-17 17:57:24 +01:00
Héctor Ramón Jiménez
80b544e548
Use Program API in editor example 2024-03-17 17:46:03 +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
846d76cd3f
Remove Sandbox trait 🎉 2024-03-17 13:46:52 +01:00
Héctor Ramón Jiménez
9152904af1
Improve styling of clock example 2024-03-16 20:13:44 +01:00
Héctor Ramón Jiménez
36b73781f1
Scale theme name in clock example 2024-03-16 19:49:54 +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
cfc0383bbf
Replace Program::fonts with simpler font method 2024-03-16 16:58:48 +01:00